Advertisement
Youssef_Ehab

Untitled

May 26th, 2014
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. i want when i type cmd im hidden and when i type anything it gets out as [hidden] jdvdhj(1):text text text
  2. and when i disconnect and reconnect i want a remove tag and to not get saved so when i reconnect i get a random color again
  3.  
  4.  
  5.  
  6. this is in on player text
  7. #if USE_Hide_SYSTEM == true
  8. if(PlayerInfo[playerid][AdminLevel] >= LEVEL_hideme)
  9. {
  10. new string[2084];
  11. GetPlayerName(playerid,string,sizeof(string));
  12. format(string,sizeof(string),"[Hidden] %s: %s",string,text[0]);
  13. SendClientMessageToAll(WHITE,string);
  14. return 0;
  15. }
  16. #endif
  17.  
  18.  
  19. the command:::
  20.  
  21. COMMAND:hideme(playerid, params[])
  22. {
  23. if(PlayerInfo[playerid][AdminLevel] >= LEVEL_hideme)
  24. {
  25. SendClientMessage(playerid, GREEN, "Server: You Have Been Hidden From The Map.");
  26. SetPlayerColor(playerid, Invisible);
  27. }
  28. else SendClientMessage(playerid, RED, NO_PERM);
  29. return 1;
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement