28.10.2009, 10:31
wrong section but here
pawn Код:
if(strcmp(cmd, "/vr", true) ==0 || strcmp(cmd, "/arepair", true) ==0)
{
if ((IsPlayerAdmin(playerid)) || PlayerInfo[playerid][pAdmin] >= 101)
{
if(IsPlayerInAnyVehicle(playerid))
{
RepairVehicle(GetPlayerVehicleID(playerid));
SendClientMessage(playerid, COLOR_GREY, "* Vehicle fixed!");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "You are not allowed to use this command.");
}
return 1;
}