12.05.2012, 21:00
Why not use ZCMD ? It's faster and much better than strcmp:
pawn Код:
COMMAND:fixveh(playerid, params[])
{
if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xFFFFFFFF, "You are not in a vehicle!");
RepairVehicle(GetPlayerVehicleID(playerid));
return 1;
}