bug rp name kick
#1

bug rp name kick

Quote:

public OnPlayerConnect(playerid)
{
if(strfind(name, "_", true) != -1)
{
new string[150],name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name, sizeof(name));
format(string,sizeof(string),"AdmCmd: %s has been auto kicked [reason: Get a roleplay name ex: John_Smith]",name);
SendClientMessageToAll(-1,string);
Kick(playerid);
}
return 1;
}

Quote:

C:\Users\Familia\Desktop\samp03DL_svr_R1_win32\fil terscripts\admins.pwn(18 : error 017: undefined symbol "name"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

Reply


Messages In This Thread
bug rp name kick - by wenx - 01.03.2018, 08:53
Re: bug rp name kick - by X337 - 01.03.2018, 09:06
Re: bug rp name kick - by BulletRaja - 01.03.2018, 10:09
Re: bug rp name kick - by wenx - 01.03.2018, 10:26

Forum Jump:


Users browsing this thread: 1 Guest(s)