11.09.2011, 12:25
Okay let's say, you have 2 situations you need to get a poistion marked on the map..
In one situation you set MarkID to 1, and in the other to 2 or something.
Then in OnPlayerMarkMap you can check if it's 1 or 2, then do something different for 1 as for 2.
Example:
MarkID 1 is an admin command for setting someones position to a position marked on the map.
And MarkID 2 is for creating a MapIcon, like in my SA-MP Ingame Editor.
In one situation you set MarkID to 1, and in the other to 2 or something.
Then in OnPlayerMarkMap you can check if it's 1 or 2, then do something different for 1 as for 2.
Example:
MarkID 1 is an admin command for setting someones position to a position marked on the map.
And MarkID 2 is for creating a MapIcon, like in my SA-MP Ingame Editor.