RepairVehicle not working
#1

Guys i'm using this on my gamemode file:

public OnPlayerCommandText(playerid, cmdtext[])
{
if (!strcmp("/repair", cmdtext))
{
if(IsPlayerInAnyVehicle(playerid))
{
RepairVehicle(GetPlayerVehicleID(playerid));
SendClientMessage(playerid, 0xFFFFFFFF, "Your vehicle has been successfully repaired!");
}
else SendClientMessage(playerid, 0xFFFFFFFF, "You are not in a vehicle!");
return 1;
}
}

and it's not working.
Can you please help me?

Thanks
Reply


Messages In This Thread
RepairVehicle not working - by vascofg - 18.10.2009, 16:37
Re: RepairVehicle not working - by Julian2574 - 18.10.2009, 16:58
Re: RepairVehicle not working - by vascofg - 18.10.2009, 17:01
Re: RepairVehicle not working - by Julian2574 - 18.10.2009, 17:08
Re: RepairVehicle not working - by Karlip - 18.10.2009, 17:08
Re: RepairVehicle not working - by Julian2574 - 18.10.2009, 17:11
Re: RepairVehicle not working - by vascofg - 18.10.2009, 17:20
Re: RepairVehicle not working - by RoamPT - 18.10.2009, 17:20
Re: RepairVehicle not working - by Walk_M4n - 18.10.2009, 17:50
Re: RepairVehicle not working - by BeckzyBoi - 18.10.2009, 18:12

Forum Jump:


Users browsing this thread: 3 Guest(s)