15.03.2016, 13:34
I need a Small Help to Covert command to zcmd. from the beginning i learned making commands with strcmp now i think its time for me to change to zcmd
so can u help to convert this command ?
Thnx
so can u help to convert this command ?
Код:
if (strcmp("/Taxi", cmdtext, true) == 0) {
if(MissionStage[playerid] != STAGE_IDLE) {
return SendClientMessage(playerid, COLOR_RED, "You are already in a work!");
}
if(DeliveryMissionn(playerid)) {
SendClientMessage(playerid, COLOR_INDIGO, "You have Started your Work !");
return 1;
}
}
if (strcmp("/StopTaxi", cmdtext, true) == 0) {
if(MissionStage[playerid] == STAGE_IDLE) {
return SendClientMessage(playerid, COLOR_RED, "You aren't doing any work!");
}
if(DeliveryMissionn(playerid)) {
GivePlayerMoney(playerid,-10000)
return SendClientMessage(playerid, COLOR_RED, "You had Paid $10,000 for stopping your Work!");
}
return 1;


