14.10.2016, 02:52
Information
ShowPlayerMarkers should be used in OnGameModeInit its a global function that affects a server property.
You do not need a timer for this at all. What I said is all you need to do, simply make two variables as I have done below.
This is an Example, I have not done the full thing for you. That is for you to work out.
This is a start, please try and use a bit more initiative and attempt to make an effort into fixing these yourself.
ShowPlayerMarkers should be used in OnGameModeInit its a global function that affects a server property.
You do not need a timer for this at all. What I said is all you need to do, simply make two variables as I have done below.
This is an Example, I have not done the full thing for you. That is for you to work out.
Код:
new pzone, fzone ; pzone = GetPlayerZone( playerid ); fzone = GetPlayerZone( forplayerid ); if( pzone == fzone ) { // Now set them to visible }