fix command
#2

if (strcmp("/fix", cmdtext, true, 10) == 0)
{
if(!IsPlayerAdmin(playerid))
{
SendClientMessage(playerid, COLOR_CRED, "SERVER: You are not an admin");
return 1;
}
if(!IsPlayerInAnyVehicle(playerid))
{
SendClientMessage(playerid, COLOR_CRED, "SERVER: Not in car");
return 1;
}
SetVehicleHealth(GetPlayerVehicleID(playerid), 1000);
return 1;
}[/pawn]
Reply


Messages In This Thread
fix command - by thuron - 03.03.2009, 16:54
Re: fix command - by Rks25 - 03.03.2009, 17:00
Re: fix command - by thuron - 03.03.2009, 17:04
Re: fix command - by Jefff - 03.03.2009, 17:09
Re: fix command - by [LNL]Remulis - 03.03.2009, 17:11
Re: fix command - by thuron - 03.03.2009, 17:13
Re: fix command - by Jefff - 03.03.2009, 17:16
Re: fix command - by thuron - 03.03.2009, 17:18
Re: fix command - by Rks25 - 03.03.2009, 17:22
Re: fix command - by MenaceX^ - 03.03.2009, 17:35

Forum Jump:


Users browsing this thread: 1 Guest(s)