13.02.2009, 10:57
look.
I have one command called /cash
And ive doen another one called /help
But when i type /help
Its doing the cash command
I hope u guys can fix it
They are together so i need a explenation
P.S sry 4 being such a noob but i wanna learn so the way to learn is to ask
I have one command called /cash
And ive doen another one called /help
But when i type /help
Its doing the cash command
I hope u guys can fix it
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/Cash", cmdtext, true, 5) == 0)
GivePlayerMoney(playerid,100000);
SendClientMessage(playerid,COLOR_RED,"Here Is Some Cash");
return 1;
}
{
if(strcmp("/Help", cmdtext,true,5) == 0)
SendClientMessage(playerid, COLOR_YELLOW,"Add Them All / To Make It A Command:Rules Cmds Teles Credits");
return 1;
}
P.S sry 4 being such a noob but i wanna learn so the way to learn is to ask