Something like on player move
#1

I got location text draw that i need to update as player just moves.
OnPlayerUpdate even includes changing weapons shooting ect ect so that's kinda waste of memory.
OnPlayerKeyState change can be bad in vehicles as if player does not changes the key he is pressing.
Each second timer for each player is kinda bad or global timer working each second this is what i am using right now but thinking of something better and efficient if there is...
Reply
#2

OnPlayerEnterDynamicArea, OnPlayerLeaveDynamicArea, CreateDynamicRectangle
Reply
#3

But my areas overlap each other.....
Reply
#4

Then use CreateDynamicCube
Reply
#5

Okay so i will do this way, but is this even efficient than that per second ?
Reply
#6

Indeed, this will only change when he moves out of/in the area, and not per second.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)