Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:speed(playerid, params[])
- {
- if(playerVariables[playerid][pAdmin] < 6) return SCM(playerid, COLOR_WHITE, "You are not an admin.");
- switch(GetPVarInt(playerid, "speed_boost"))
- {
- case 0: SetPVarInt(playerid, "speed_boost", 1);
- case 1: SetPVarInt(playerid, "speed_boost", 0);
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement