Guest User

Untitled

a guest
Aug 19th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. new section[10];
  2. if(!sscanf(params, "s[10]", section))
  3. {
  4. if(!strcmp(section, "get"))
  5. {
  6. new item[10];
  7. if(!sscanf(section, "s[10]", item))
  8. {
  9. if(!strcmp(item, "cocaine"))
  10. {
  11. }
  12. else if(!strcmp(item, "weapon"))
  13. {
  14. }
  15. }
  16. else { } //Syntax error (He/she only typed /trunk get <MISSING PARAMETER>
  17. }
  18. else if(!strcmp(section, "put"))
  19. {
  20. //Put function
  21. }
  22. }
Add Comment
Please, Sign In to add comment