Guest User

GTAV Toggle Cops Cheat SRC

a guest
Nov 18th, 2015
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.76 KB | None | 0 0
  1. void cops_cheatLoop(){
  2. set_entity_visible(copsobj, false);(PlayerId());
  3. }
  4.  
  5. ///////////////////////////////////////////////
  6.  
  7. if (cheat_cops){
  8. cops_cheatLoop();
  9. }
  10.  
  11. ////////////////////////
  12.  
  13. code for the function
  14.  
  15. bool cops_cheatLoop1 = false;
  16. int CopsCheat(int selectedIndex, vector<int> *selectedMenuIndexes, char *itemText, void *functionParameters) {
  17.    
  18.     if(!cheat_cops){
  19.         cheat_cops = true;
  20.         model = -1096777189;
  21.         objectspawn = true;
  22.         model = -1096777189;
  23.         set_entity_visible(copsobj, false);
  24.         objectspawn = true;
  25.         cops_cheatLoop1 = true;
  26.         ShowMessageOnScreen("~y~ Cops Cheat: ~g~ON!");
  27.        
  28.     }
  29.     else if(cheat_cops){
  30.         cheat_cops = false;
  31.         cops_cheatLoop1 = false;
  32.         ShowMessageOnScreen("~y~ Cops Cheat: ~r~OFF!");
  33.     }
  34.  
  35.     return 0;
  36. }
Advertisement
Add Comment
Please, Sign In to add comment