Help Plz !
#1

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 ?

Код:
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;
Thnx
Reply


Messages In This Thread
Help Plz ! - by Shaheen - 15.03.2016, 13:34
Re: Help Plz ! - by Ax3l123 - 15.03.2016, 13:39
Re: Help Plz ! - by Shaheen - 15.03.2016, 14:00
Re: Help Plz ! - by thegamer355 - 15.03.2016, 14:41
Re: Help Plz ! - by Shaheen - 15.03.2016, 16:31
Re: Help Plz ! - by Shaheen - 15.03.2016, 18:51
Re: Help Plz ! - by thegamer355 - 15.03.2016, 19:12
Re: Help Plz ! - by Shaheen - 16.03.2016, 17:40
Re: Help Plz ! - by YouServ - 16.03.2016, 17:46
Re: Help Plz ! - by Shaheen - 16.03.2016, 19:33

Forum Jump:


Users browsing this thread: 1 Guest(s)