05.11.2013, 13:52
pawn Код:
CMD:v(playerid, params[]) {
new cmd[4];
sscanf(params,"s[4]",cmd)
switch(cmd) {
case "lock":
case "find":
case "park":
}
return 1;
}
check if the array cmd is null to see if the player typed in something after the command name and if he didn't,send the message "[Usage]: /v [find, park, lock, get]"