21.05.2011, 00:28
Quote:
I'm not sure about this.
But what I feel is wrong that you have the chat command under main() It should be under a function named public OnPlayerText(playerid, text[]) And why do you make a command that just returns 1; ? It's like, making a command that exists, but does not do anything at all? |
And for the topic starter, instead of trying to replay it, just make a loop around the route for the driver when you /vrecord it. For example:
If your bot trucker starts at RS Haul in Los Santos/Flint County and the destination is Los Santos Police Department...
1. Start recording from RS Haul to LSPD
2. When you're at LSPD, go back the way you came when you came from RS Haul to the PD, or just make a different route back to the RS Haul.
3. When you arrive at RS Haul, slow down then do /stoprecord in the (approximate) spot you started to record it, including the angle of the truck, etc...
4. When that is done and you have it in your script, etc... it should start where you recorded it, go to lspd, go back the way you came then stop where you stopped recording it, then it will keep re-looping like that forever until the server shuts down lol.
Hope you kind of understood that.