[HELP]need help with the npc
#1

hello ,

i asking u guys for help a little, i have script npc that is in vehicle, but the npc always stand at the spawn point and another npc on foot is working well but idk why its not moving on vehicle. plz help
Reply
#2

do you have done this?
Код:
PutPlayerInVehicle(playerid, vehicleid, 0);
maybe this can help you:
http://forum.sa-mp.com/index.php?topic=135284.0
Reply
#3

and change:
PLAYER_RECORDING_TYPE_ONFOOT
to
PLAYER_RECORDING_TYPE_DRIVER
Reply
#4

Show me the NPC code you put in the Filterscript Folder/added in the GM so that I can help.
Reply
#5

pawn Код:
new yourcar;

public OnGameModeInit()
{

    yourcar = AddStaticVehicle(BLLA ABLALALA);
   
    return 1;
}

public OnPlayerSpawn(playerid)
{
  if(!IsPlayerNPC(playerid)) return 0;
    PutPlayerInVehicle(playerid, yourcar, 0);
  return 1;
}
Reply
#6

,
well i already have put PutPlayerInVehicle(bla bla bla) but its still at spawn point
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)