28.03.2010, 19:50
Omg i connected to server with difren't name and it let me spawn without the name BADBOY its supose to stop people spawning with the it!!! it still lets any name spawns with it what did i do wrong
Код:
public OnPlayerRequestClass(playerid, classid)
{ new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, MAX_PLAYER_NAME);
if(strcmp(name, "[BADBOY]") == 0)
{
AddPlayerClass(104,2853.5090,2413.9880,10.8203,240.3056,4,1000,46,0,0,0);
}

