Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. dcmd_noreload(playerid,params[])
  2. {
  3. if(strfind("/noreload yes", "yes", true) != -1)
  4. {
  5. SendClientMessageToAll(0xFFFFFFFF, "You activated no reload!");
  6. noreload[playerid] = 1;
  7. }
  8. if(strfind("/noreload no", "no", true) != -1)
  9. {
  10. SendClientMessageToAll(0xFFFFFFFF, "You de-activated no reload!");
  11. noreload[playerid] = 0;
  12. }
  13. else
  14. {
  15. if(!strlen(params)) return SendClientMessage(playerid, 0xFFFFFFFF, "USAGE: /noreload yes/no");
  16. }
  17. return 1;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement