Help with NPC - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help with NPC (
/showthread.php?tid=296164)
Help with NPC -
§с†¶e®РµРe - 10.11.2011
i have a stunting server and i want to make a npc that does stunts and all and also a minigame rollercoaster . so the npc will be on bike.I have recorded the npc.I want to make a code like when a player sits with the npc the npc starts moving and the player gets a cool ride!!!!!!How can i do that i am newbie please post code i will try to understand
Re: Help with NPC -
jiwan - 10.11.2011
you can do this with a command
i mean when you will type /start the npc will start moving
Re: Help with NPC -
§с†¶e®РµРe - 10.11.2011
ok but can you please post the code !
Re: Help with NPC -
jiwan - 10.11.2011
pawn Code:
if (strcmp("/start", cmdtext, true, 10) == 0)
{
StartRecordingPlayback(PLAYER_RECORDING_TYPE_DRIVER,"recorded file name");
return 1;
}