19.10.2010, 16:33
You must tell the script what to do with the NPC.
For example:
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;
}