Vice City Multiplayer
VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: Castagna on May 28, 2011, 10:44:54 pm
-
Hi , i was looking for a missing function for the command /c ban . The cmd is complete, but when u ban someone , them when the banned player re join the server , didn't kick him (autokick - reason - banned account) . So need the function IsBanned( player ) for this :
function onPlayerJoin( player )
{
if ( IsBanned( player ) == 1 ) Kick( player, "auto", "Banned account" );
}
I need this function for squirrel with Hash :-\
Thx ;)
-
function onPlayerJoin( player )
{
if ( IsBanned( player ) == 1 ) Kick( player, "auto", "Banned account" );
KickPlayer( plr );
}
if not works then
post in squirrel forum
http://vcmp.liberty-unleashed.co.uk/forum/
-
ok thanks !
didn't work ... because I need that function
-
didn't work ... because I need that function