#4

CMD:fix(playerid,params[])
{
PHP код:
if(!IsPlayerInRangeOfPoint(playerid7.02695.6880, -1704.630011.8438)return SendClientMessage(playerid,RED,"You need to be in stunt area to use this command");
if(
IsPlayerInAnyVehicle(playerid))
{
RepairVehicle(GetPlayerVehicleID(playerid));
SendClientMessage(playeridGREEN"Your vehicle has been successfully repaired!");
}
else
{
SendClientMessage(playerid0xFFFFFFFF"You are not in a vehicle!");
}
return 
1;

try this, it should work
Reply


Messages In This Thread
Hi. - by lordturhan - 11.11.2011, 10:40
Re: Hi. - by Stigg - 11.11.2011, 10:45
Re: Hi. - by lordturhan - 11.11.2011, 10:47
Re: Hi. - by mineralo - 11.11.2011, 11:10
Re: Hi. - by Vince - 11.11.2011, 11:21
Re: Hi. - by mineralo - 11.11.2011, 11:32

Forum Jump:


Users browsing this thread: 1 Guest(s)