[Ajuda] Spawnar NPC
#4

Tente assim entгo.

PHP код:
public OnPlayerConnect(playerid) {
    if(
IsPlayerNPC(playerid)) {
        
SpawnPlayer(playerid);
    }
    return 
1;
}  
public 
OnPlayerSpawn(playerid) {
    if(
IsPlayerNPC(playerid) {
        
SetPlayerPos(playeridXYZ);
    }
    return 
1;

Troque X, Y e Z pelas coordenadas desejadas..

Abraзos,
Reply


Messages In This Thread
Spawnar NPC - by Vegassilva - 21.03.2015, 13:28
Re: [Problema] Npcs - by ipsLuan - 21.03.2015, 13:31
Re: Spawnar NPC - by Vegassilva - 21.03.2015, 13:33
Re: Spawnar NPC - by ipsLuan - 21.03.2015, 13:37
Re: Spawnar NPC - by Vegassilva - 21.03.2015, 13:41
Re: Spawnar NPC - by ipsLuan - 21.03.2015, 13:49
Re: Spawnar NPC - by Vegassilva - 21.03.2015, 13:50
Re: Spawnar NPC - by ipsLuan - 21.03.2015, 13:57
Re: Spawnar NPC - by Lуs - 21.03.2015, 13:59
Re: Spawnar NPC - by Vegassilva - 21.03.2015, 14:06

Forum Jump:


Users browsing this thread: 1 Guest(s)