Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stock cmdparam(full[], first[], length=sizeof first)
- {
- new space = strfind(full, " ");
- if(space == -1)
- {
- format(first, length, full);
- strdel(full, 0, strlen(full));
- }
- else
- {
- strmid(first, full, 0, space, length);
- strdel(full, 0, space + 1);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement