25.04.2010, 09:41
Код:
if (strcmp("/MTaxi", cmdtext, true, 10) == 0) { if(GetPlayerVehicleID(playerid) != 420) { SendClientMessage(playerid, COLOR_RED , "TEXT #1"); return 1; } else if(GetPlayerVehicleID(playerid) == 420) { if(GetPlayerState(playerid) != 2) { SendClientMessage(playerid, COLOR_RED , "TEXT #2"); return 1; } SendClientMessage(playerid, COLOR_RED , "TEXT #3"); format(string, sizeof(string), "%d SOMETEXT", TaxiMoney); SendClientMessage(playerid, COLOR_RED , string); SetTimer("Taxi", 600000, 1); inTaxi[playerid] = 1; return 1; } }
the condition does not well ??
Thanks for helpers !!