krishhna

asd

May 19th, 2020
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. public hideme(playerid)
  2. {
  3. pLoop()
  4. {
  5. if(gTeam[playerid] == TEAM_GREEN)
  6. {
  7. SetPlayerMarkerForPlayer(i, playerid, 0x33AA3300); // green color invisible
  8. }
  9. if(gTeam[playerid] == TEAM_BLUE)
  10. {
  11. SetPlayerMarkerForPlayer(i, playerid, 0x0072E600); // blue color invisible
  12. }
  13. }
  14. return 1;
  15. }
  16. /////////////////////// OR ////////////////////////////////
  17.  
  18.  
  19. public hideme(playerid)
  20. {
  21. if(gTeam[playerid] == TEAM_GREEN)
  22. {
  23. pLoop()
  24. {
  25. SetPlayerMarkerForPlayer(i, playerid, 0x33AA3300); // green color invisible
  26. }
  27. }
  28. if(gTeam[playerid] == TEAM_BLUE)
  29. {
  30. pLoop()
  31. {
  32. SetPlayerMarkerForPlayer(i, playerid, 0x0072E600); // blue color invisible
  33. }
  34. }
  35. return 1;
  36. }
Add Comment
Please, Sign In to add comment