Npc problem!
#2

You must tell the script what to do with the NPC.

For example:

pawn Код:
public OnPlayerSpawn(playerid)
{
    if(IsPlayerNPC(playerid))
    {
        PutPlayerInVehicle(playerid,vehicleid,0); // Put him in a vehicle of your choice?
        SetPlayerPos(playerid,0.0,0.0,0.0); // Put him somewhere of your choice?
        SetPlayerSkin(playerid,29); // Put him in the hoodie skin?
        // And so on, you can also have multiple NPC's and use name-checking to identify them
    }
    return 1;
}
Reply


Messages In This Thread
Npc problem! - by iJumbo - 19.10.2010, 16:28
Re: Npc problem! - by JaTochNietDan - 19.10.2010, 16:33
Re: Npc problem! - by iJumbo - 19.10.2010, 16:34

Forum Jump:


Users browsing this thread: 2 Guest(s)