14.06.2010, 16:59
This is how its defined:
OnGameModeInit
OnPlayerRequestSpawn
OnPlayerRequestClass
OnPlayerConnect
OnPlayerSpawn
Whats wrong with it?
OnGameModeInit
Quote:
ConnectNPC("JobNPC1","JobNPC1"); |
Quote:
if(IsPlayerNPC(playerid))return 1; |
Quote:
if(IsPlayerNPC(playerid))return 1; |
Quote:
if(IsPlayerNPC(playerid))return 1; |
Quote:
if(IsPlayerNPC(playerid))return 1; { if(IsPlayerNPC(playerid)) { new npcname[MAX_PLAYER_NAME]; GetPlayerName(playerid, npcname, sizeof(npcname)); if(!strcmp(npcname, "JobNPC1", true)) return 1; } } |