Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dcmd_noreload(playerid,params[])
- {
- if(strfind("/noreload yes", "yes", true) != -1)
- {
- SendClientMessageToAll(0xFFFFFFFF, "You activated no reload!");
- noreload[playerid] = 1;
- }
- if(strfind("/noreload no", "no", true) != -1)
- {
- SendClientMessageToAll(0xFFFFFFFF, "You de-activated no reload!");
- noreload[playerid] = 0;
- }
- else
- {
- if(!strlen(params)) return SendClientMessage(playerid, 0xFFFFFFFF, "USAGE: /noreload yes/no");
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement