02.01.2015, 18:31
PHP Code:
public OnPlayerRequestClass(playerid, classid)
{
if(IsPlayerNPC(playerid))
{
new npc_name[24];
GetPlayerName(playerid,npc_name,sizeof(npc_name));
if(!strcmp(npc_name,"Pablas",false)) SetSpawnInfo(playerid, -1,17, -1448.289917, 1494.777222, 6.099233,0.0, -1, -1, -1, -1, -1, -1);
}
return 1;
}
PHP Code:
[21:13:59] [npc:join] Pablas has joined the server (0:127.0.0.1)
[21:14:00] [npc:part] Pablas has left the server (0:2)