NPC connects but doesen't spawn.
#1

My NPC doesen't spawn, it even prints DEALER SPAWNED.

pawn Код:
public OnGameModeInit()
{
      ConnectNPC("Dealer", "npcidle");
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    new sendername[MAX_PLAYER_NAME];
    if(IsPlayerNPC(playerid))
    {
        if(strcmp(sendername,"Dealer",true) == 0)
        {
            SetSpawnInfo(playerid, NO_TEAM, 280, 2319.1616,17.7953,26.4766,39.4589,-1,-1,-1,-1,-1,-1);
            print("DEALER SPAWNED");
        }
    }
Reply


Messages In This Thread
NPC connects but doesen't spawn. - by Sasoft - 28.09.2012, 14:33
Re: NPC connects but doesen't spawn. - by BloodMaster - 28.09.2012, 14:35
Re: NPC connects but doesen't spawn. - by Sasoft - 28.09.2012, 14:40
Re: NPC connects but doesen't spawn. - by iPLEOMAX - 28.09.2012, 14:47
Re: NPC connects but doesen't spawn. - by Sasoft - 28.09.2012, 15:18

Forum Jump:


Users browsing this thread: 3 Guest(s)