/repair Commad help
#1

Hello,

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

even if I do.

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.");
}

MechanicVEH = towtruck

Thanks for your help
Reply


Messages In This Thread
/repair Commad help - by Young_M - 09.03.2013, 14:35
Re: /repair Commad help - by Denying - 09.03.2013, 15:19
AW: /repair Commad help - by Young_M - 09.03.2013, 17:44
Re: /repair Commad help - by Denying - 09.03.2013, 18:09

Forum Jump:


Users browsing this thread: 1 Guest(s)