Problema con NPC
#5

Algo como esto:
pawn Код:
public OnPlayerSpawn(playerid)
{
    if(!strcmp(npcname, "Cochepru", true))
    {
        PutPlayerInVehicle(playerid, Cochepru, 0);
        return 1;
    }
    //===[aqui tu demas codigo]===//
    return 1;
}
Y en
pawn Код:
public OnPlayerConnect(playerid)
{
    if(IsPlayerNPC(playerid)) return 1;
    //===[tu demas codigo]===//
    return 1;
}
Lo mismo en OnPlayerRequestClass, OnPlayerRequestSpawn. Para asegurarse.
Reply


Messages In This Thread
Problema con NPC - by juank - 25.06.2012, 04:30
Respuesta: Problema con NPC - by CaptainMactavish - 25.06.2012, 05:32
Re: Problema con NPC - by Bu11Sh0t - 25.06.2012, 12:27
Re: Problema con NPC - by juank - 25.06.2012, 16:23
Re: Problema con NPC - by Bu11Sh0t - 25.06.2012, 22:08
Re: Problema con NPC - by juank - 26.06.2012, 03:58

Forum Jump:


Users browsing this thread: 1 Guest(s)