NPC joins and leaves the server
#1

PHP код:
public OnPlayerRequestClass(playeridclassid

    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.2899171494.7772226.099233,0.0, -1, -1, -1, -1, -1, -1); 
    }    
    return 
1

PHP код:
21:13:59] [npc:joinPablas has joined the server (0:127.0.0.1
[
21:14:00] [npc:partPablas has left the server (0:2
Reply


Messages In This Thread
NPC joins and leaves the server - by bogushas - 02.01.2015, 18:42
Re: NPC joins and leaves the server - by Abagail - 02.01.2015, 18:45
Re: NPC joins and leaves the server - by bogushas - 02.01.2015, 18:51
Re: NPC joins and leaves the server - by Neos07 - 02.01.2015, 18:51
Re: NPC joins and leaves the server - by bogushas - 02.01.2015, 18:53

Forum Jump:


Users browsing this thread: