17.10.2011, 17:34
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, MAX_PLAYER_NAME);
if(strcmp(name, "[LSB]TheGame") == 0)
{
AddPlayerClass(21,1980.7158,-1231.5333,24.8155,98.0888,0,0,0,0,0,0);
}
if(strcmp(name, "[LSB]TheGame") == 1)
{
SetPlayerHealth(playerid, 0);
SendClientMessage(playerid,0xFF0019FF,"You are not [LSB]TheGame, press F4 and choose another Skin!");
}