19.06.2009, 15:49
idk wat u that seif thing is but is simple like
pawn Код:
if (strcmp("/respray", cmdtext, true) == 0)
{
if(IsPlayerInAnyVehicle(playerid))
{
new vehicle;
vehicle = GetPlayerVehicleID(playerid);
SetVehicleHealth(vehicle,1000.0);
}
else
{
SendClientMessage(playerid, COLOR_RED, "Error: You must be in a vehicle to use this command!");
}
return 1;
}