24.07.2011, 20:53
pawn Код:
CMD:help(playerid, params[])
{
new option[24];
if(sscanf(params, "s[24]", option))
{
SendClientMessage(playerid, -1, "Syntax: /help option");
SendClientMessage(playerid, -1, "Options: vehicle, etc, etc ,etc");
return 1;
}
if(!strcmp(option, "vehicle", true))
{
SendClientMessage(playerid, -1, "Heres your vehicle help!");
}
else return SendClientMessage(playerid, -1, "That option doesn't exist!");
return 1;
}
Edit: lol just noticed this was an old topic, hadn't closed this tab! lol.