Problem with this code
#7

Quote:
Originally Posted by RadekB0Y
Посмотреть сообщение
Код:
public OnPlayerRequestSpawn(playerid)
{
new PlayerName[24];
GetPlayerName(playerid, PlayerName, 24);
if(GetPlayerSkin(playerid) == 100)
{
if(strcmp(PlayerName,"radek",true) == 0)
{
SendClientMessage(playerid,0x33AA33AA, "-Ident-Hey ;)");
return 1;
}
else
{
SendClientMessage(playerid,0x33AA33AA, "-Ident-You can't choose this class.");
return 0;
}
}
return 1;
}
I think this is the code.
Solved maybe.
Yes, this one should work. Try it out.
Reply


Messages In This Thread
Problem with this code - by RadekB0Y - 15.10.2011, 18:37
Re: Problem with this code - by [MWR]Blood - 15.10.2011, 18:39
Re: Problem with this code - by Josma_cmd - 15.10.2011, 18:40
Re: Problem with this code - by [MWR]Blood - 15.10.2011, 18:43
Re: Problem with this code - by Josma_cmd - 15.10.2011, 18:48
Re: Problem with this code - by RadekB0Y - 15.10.2011, 18:49
Re: Problem with this code - by [MWR]Blood - 15.10.2011, 18:53
Re: Problem with this code - by RadekB0Y - 15.10.2011, 19:07
Re: Problem with this code - by [MWR]Blood - 15.10.2011, 19:08
Re: Problem with this code - by RadekB0Y - 15.10.2011, 19:31

Forum Jump:


Users browsing this thread: 1 Guest(s)