Posts: 140
Threads: 35
Joined: Jul 2017
I made a text drawing on my server to warn the player where it is. Example: "Place: Los Santos". But how do I know exactly where it is? By this I mean to know if it is in "Las venturas", "los santos", "san fierro", "airport (Ls, Lv or Sf)", "the beach", etc. and so with more places.
Posts: 140
Threads: 35
Joined: Jul 2017
Sorry, I was also referring to whether to use a timer to detect when the player enters a zone or use "OnPlayerEnterDynamicArea"
Posts: 140
Threads: 35
Joined: Jul 2017
If I use the timer do I have to use it in OngamemodeInit or OnPlayerConnect?
Posts: 1,192
Threads: 10
Joined: Dec 2017
Reputation:
0
Start it per-player at onplayerconnect and kill it at onplayerdisconnect
Posts: 140
Threads: 35
Joined: Jul 2017
So, would it be better to use a timer than "OnPlayerEnterDynamicArea"? I use "CreateDynamicRectangle" for zones.
Posts: 3,085
Threads: 37
Joined: Nov 2012
Reputation:
0
Think logically.
When does 'OnPlayerEnterDynamicArea' get called? When a player enters a dynamic area.
"I use "CreateDynamicRectangle" for zones"..
What do you think the answer would be?