Quote:
Originally Posted by UltraScripter
pawn Код:
public OnPlayerRequestClass(playerid, classid) { if (IsPlayerNPC(playerid)) return 1; } if (!PlayerData[playerid][pAccount] && !PlayerData[playerid][pKicked]) { new time[3];
gettime(time[0], time[1], time[2]); SetPlayerTime(playerid, time[0], time[1]);
TogglePlayerSpectating(playerid, 1);
PlayerData[playerid][pAccount] = 1;
SetPlayerPos(playerid, 313.109436, -1848.991210, -6.454225); SetPlayerCameraPos(playerid, 313.109436, -1848.991210, 13.545774); SetPlayerCameraLookAt(playerid, 313.130828, -1848.462646, 13.459357);
SQL_CheckAccount(playerid); } else { SpawnPlayer(playerid); } return 1; }
|
Код:
public OnPlayerRequestClass(playerid, classid)
{
if (IsPlayerNPC(playerid))
return 1;
}
What is that?