Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new section[10];
- if(!sscanf(params, "s[10]", section))
- {
- if(!strcmp(section, "get"))
- {
- new item[10];
- if(!sscanf(section, "s[10]", item))
- {
- if(!strcmp(item, "cocaine"))
- {
- }
- else if(!strcmp(item, "weapon"))
- {
- }
- }
- else { } //Syntax error (He/she only typed /trunk get <MISSING PARAMETER>
- }
- else if(!strcmp(section, "put"))
- {
- //Put function
- }
- }
Add Comment
Please, Sign In to add comment