09.03.2013, 14:35
Hello,
today I've scripted a repair command for mechanics. If I go ingame and drive a towtruck it always says
even if I do.
code:
MechanicVEH = towtruck
Thanks for your help
today I've scripted a repair command for mechanics. If I go ingame and drive a towtruck it always says
Quote:
You are not driving a Towtruck |
code:
Quote:
for(new i=0; i < sizeof(MechanicVEH); i++) { if(GetPlayerVehicleID(playerid) != MechanicVEH[i]) return SendClientMessage(playerid, COLOR_GREY, "You are not driving a Towtruck."); } |
Thanks for your help