[solved???] No SetTimerEx??
#1

SetTimerEx doesn't work for npc scripts...
Is there any other way to pass Bot playerid to the timer?
Reply
#2

You have to set the timer in gamemode, if it is possible to do that thing what you want to.
Reply
#3

Quote:
Originally Posted by Kurence
You have to set the timer in gamemode, if it is possible to do that thing what you want to.
It is not possible, cause I'll use function StopRecordingPlayback, which doesn't work in gamemode script..
But, would it work if I use CallRemoteFunction from my gamemode?
Reply
#4

If you're just trying to get your NPCs ID, make a variable, then OnPlayerConnect(myplayerid)variable=myplayerid;



or something
Reply
#5

Quote:
Originally Posted by Joe Staff
If you're just trying to get your NPCs ID, make a variable, then OnPlayerConnect(myplayerid)variable=myplayerid;



or something
Thanks for the answer, I think you meant OnNPCConnect(myplayerid), I have few bots using the same script, so could you help me to make a variable like
myplayerid[MAX_PLAYERS] (this would work, but is it good idea to use MAX_PLAYERS?) or something..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)