Advertisement
Guest User

Untitled

a guest
Jun 25th, 2018
245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. CMD:speed(playerid, params[])
  2. {
  3. if(playerVariables[playerid][pAdmin] < 6) return SCM(playerid, COLOR_WHITE, "You are not an admin.");
  4. switch(GetPVarInt(playerid, "speed_boost"))
  5. {
  6. case 0: SetPVarInt(playerid, "speed_boost", 1);
  7. case 1: SetPVarInt(playerid, "speed_boost", 0);
  8. }
  9. return 1;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement