Need 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: Need help with NPC (
/showthread.php?tid=449565)
Need help with NPC -
kert93 - 09.07.2013
Hello, I have a bus bot driving around the city.
Here is the npcmode .pwn file:
http://pastebin.com/2DD7rCeF
Here is the filterscript that controls the bots:
http://pastebin.com/Lk8cZRhF
There are 2 things I need to do:
- I need the bot to start playpback for suund 0 when server time is :00 (10:00, 11:00 etc) and suund 1 every :30 (10:30, 11:30) etc. Both of the recordings are about 20 minutes long
- I need the bus to change 3DText named TablooX1 when Suund in npcmode changes. (Suund 0 = X1 La Habra, Suund 1 = X1 Santa Marina)
Is it possible to make those 2 things (I'm extreme beginner at PAWN, I tried to get this working, but no luck:
https://sampwiki.blast.hk/wiki/Gettime).
Re: Need help with NPC -
kert93 - 10.07.2013
I managed to create that schedule system. Only thing now is 3DText changing.
Problably the easiest is also to make it change based on time?
//Did it with time also.