23.08.2012, 02:18
Код:
if(strcmp(cmdtext, "/blindar", true) == 0) { if(IsPlayerInRangeOfPoint(playerid, 7.0, 2510.7747, -1460.4207, 23.9997)) { new vehicleid = GetPlayerVehicleID(playerid); SetVehicleHealth(vehicleid, 2000.0); GivePlayerMoney(playerid, -3000); SendClientMessage(playerid, -1, "Vocк adicionou blindagem."); return 1; } }