Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stock SetPlayerMapIconEx(playerid, Float:x, Float:y, Float:z, markertype, color, style)
- {
- SetPlayerMapIcon(playerid, GetPVarInt(playerid, "IconID"), Float:x, Float:y, Float:z, markertype, color, style);
- new iID = GetPVarInt(playerid, "IconID");
- SetPVarInt(playerid, "IconID", GetPVarInt(playerid, "IconID")+1);
- return iID;
- }
- /* und dann bei OnPlayerDisconnect: */
- DeletePVar(playerid, "IconID");
Advertisement
Add Comment
Please, Sign In to add comment