Need help with NPC
#1

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).
Reply
#2

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)