15.11.2009, 15:42
pawn Код:
new CarFix = 0;
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/cardm", cmdtext, true, 10) == 0)
{
CarFix = 1;
return 1;
}
if (strcmp("/fix", cmdtext, true, 10) == 0)
{
if (CarFix == 1) return SendClientMessage(playerid, color, "can't use that here");
//other code
}
return 0;
}