Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void cops_cheatLoop(){
- set_entity_visible(copsobj, false);(PlayerId());
- }
- ///////////////////////////////////////////////
- if (cheat_cops){
- cops_cheatLoop();
- }
- ////////////////////////
- code for the function
- bool cops_cheatLoop1 = false;
- int CopsCheat(int selectedIndex, vector<int> *selectedMenuIndexes, char *itemText, void *functionParameters) {
- if(!cheat_cops){
- cheat_cops = true;
- model = -1096777189;
- objectspawn = true;
- model = -1096777189;
- set_entity_visible(copsobj, false);
- objectspawn = true;
- cops_cheatLoop1 = true;
- ShowMessageOnScreen("~y~ Cops Cheat: ~g~ON!");
- }
- else if(cheat_cops){
- cheat_cops = false;
- cops_cheatLoop1 = false;
- ShowMessageOnScreen("~y~ Cops Cheat: ~r~OFF!");
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment