25.10.2013, 06:14
as the tittle say , i got error / warning on make that.
Firstly i want to make a CMD to adding Text on Taxi Car
and this the CMD for it
and i got warning message like this
How to fix it ? any way to fix ? or it must got that warning if i want to make that Code ?
Firstly i want to make a CMD to adding Text on Taxi Car
Код:
//On TOP new Text3D:taxifull[MAX_VEHICLES],taxiempty[MAX_VEHICLES],taxid;
Код:
CMD:toff(playerid, params[]) { if(PlayerInfo[playerid][pJob] == 17 || PlayerInfo[playerid][pJob2] == 17 || PlayerInfo[playerid][pTaxiLicense] == 1) { new newcar = GetPlayerVehicleID(playerid); if(IsAnTaxi(newcar)) { if(GetPlayerState(playerid) == 2) { Delete3DTextLabel(taxiempty[taxid]); Delete3DTextLabel(taxifull[taxid]); SendClientMessageEx(playerid, COLOR_WHITE, "You have succesfully turn off Taxi Indicator."); } else { SendClientMessageEx(playerid, COLOR_GREY, " You are not the driver!"); return 1; } } else { SendClientMessageEx(playerid, COLOR_GREY, " You are not in the Taxi!"); return 1; } } else { SendClientMessageEx(playerid,COLOR_GREY,"You're not a licensed taxi/bus driver!"); return 1; } return 1; } CMD:tfull(playerid, params[]) { if(PlayerInfo[playerid][pJob] == 17 || PlayerInfo[playerid][pJob2] == 17 || PlayerInfo[playerid][pTaxiLicense] == 1) { new newcar = GetPlayerVehicleID(playerid); if(IsAnTaxi(newcar)) { if(GetPlayerState(playerid) == 2) { taxid = GetPlayerVehicleID(playerid); taxifull[taxid] = Create3DTextLabel("[•TAXI FULL•]", COLOR_YELLOW, 0.0, 0.0, 0.0, 15.0, 0, 0 ); Attach3DTextLabelToVehicle( taxifull[taxid], taxid, 0.0, 0.0, 1.0); Delete3DTextLabel( taxiempty[taxid] ); } else { SendClientMessageEx(playerid, COLOR_GREY, " You are not the driver!"); return 1; } } else { SendClientMessageEx(playerid, COLOR_GREY, " You are not in the Taxi!"); return 1; } } else { SendClientMessageEx(playerid,COLOR_GREY,"You're not a licensed taxi/bus driver!"); return 1; } return 1; } CMD:tempty(playerid, params[]) { if(PlayerInfo[playerid][pJob] == 17 || PlayerInfo[playerid][pJob2] == 17 || PlayerInfo[playerid][pTaxiLicense] == 1) { new newcar = GetPlayerVehicleID(playerid); if(IsAnTaxi(newcar)) { if(GetPlayerState(playerid) == 2) { taxid = GetPlayerVehicleID(playerid); taxiempty[taxid] = Create3DTextLabel("[•TAXI EMPTY•]", COLOR_YELLOW, 0.0, 0.0, 0.0, 15.0, 0, 0 ); Attach3DTextLabelToVehicle( taxiempty[taxid], taxid, 0.0, 0.0, 1.0); Delete3DTextLabel( taxifull[taxid] ); } else { SendClientMessageEx(playerid, COLOR_GREY, " You are not the driver!"); return 1; } } else { SendClientMessageEx(playerid, COLOR_GREY, " You are not in the Taxi!"); return 1; } } else { SendClientMessageEx(playerid,COLOR_GREY,"You're not a licensed taxi/bus driver!"); return 1; } return 1; }
Код:
D:\Server\LARP.pwn(68634) : warning 213: tag mismatch D:\Server\LARP.pwn(68635) : warning 213: tag mismatch D:\Server\LARP.pwn(68668) : warning 213: tag mismatch D:\Server\LARP.pwn(68669) : warning 213: tag mismatch D:\Server\LARP.pwn(68670) : warning 213: tag mismatch D:\Server\LARP.pwn(68702) : warning 213: tag mismatch D:\Server\LARP.pwn(68703) : warning 213: tag mismatch D:\Server\LARP.pwn(68704) : warning 213: tag mismatch Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 8 Warnings.