27.05.2011, 15:25
try to put
playerid = your NPC
vehicleid = you need to create that example:
OnGameModeInit()
try it..
pawn Код:
if(IsPlayerNPC(playerid))
{
PutPlayerInVehicle(playerid,vehicleid);
return 1;
}
vehicleid = you need to create that example:
pawn Код:
new npcvehicle;
pawn Код:
npcvehicle = CreateVehicle(411,0,0,0,1,1,1,1);