Maddin

SetPlayerMapIconEx

Jun 10th, 2011
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.40 KB | None | 0 0
  1. stock SetPlayerMapIconEx(playerid, Float:x, Float:y, Float:z, markertype, color, style)
  2. {
  3.     SetPlayerMapIcon(playerid, GetPVarInt(playerid, "IconID"), Float:x, Float:y, Float:z, markertype, color, style);
  4.     new iID = GetPVarInt(playerid, "IconID");
  5.     SetPVarInt(playerid, "IconID", GetPVarInt(playerid, "IconID")+1);
  6.     return iID;
  7. }
  8.  
  9. /* und dann bei OnPlayerDisconnect: */
  10. DeletePVar(playerid, "IconID");
Advertisement
Add Comment
Please, Sign In to add comment