LongRiverShot Posted December 15, 2012 Share Posted December 15, 2012 retrag,nu este bug..scz Link to comment Share on other sites More sharing options...
WorldDistroyer Posted December 15, 2012 Share Posted December 15, 2012 Da, ai dreptate eu am Rent Car LS si de 2 zile nu-mi mai produce nimic si chiar m-am mirat de ce. Link to comment Share on other sites More sharing options...
qazdawn Posted December 16, 2012 Share Posted December 16, 2012 Da, ai dreptate eu am Rent Car LS si de 2 zile nu-mi mai produce nimic si chiar m-am mirat de ce. In gamemode sistemul de rentcar arata cam asa if(strcmp(cmd, "/rentcar", true) == 0) { if(IsPlayerConnected(playerid)) { new carid = GetPlayerVehicleID(playerid); new hirefee = HireCost(GetPlayerVehicleID(playerid)); if(IsALsRentcar(carid)) { if(SBizzInfo[0][sbProducts] == 0) { GameTextForPlayer(playerid, "~r~Out Of Stock", 5000, 1); return 1; } if(PlayerInfo[playerid][pPbiskey] == 0) { GameTextForPlayer(playerid, "~w~No charge for the boss", 5000, 3); TogglePlayerControllable(playerid, 1); return 1; } if (GetPlayerMoneyEx(playerid) < SBizzInfo[0][sbEntranceCost]) { SendClientMessage(playerid, COLOR_GRAD2, " You dont have that much cash !"); return 1; } GivePlayerMoneyEx(playerid,-SBizzInfo[0][sbEntranceCost]); SBizzInfo[0][sbTill] += SBizzInfo[0][sbEntranceCost]; ExtortionSBiz(0, SBizzInfo[0][sbEntranceCost]); SBizzInfo[0][sbProducts]--; } if(IsASfRentcar(carid)) { if(SBizzInfo[1][sbProducts] == 0) { GameTextForPlayer(playerid, "~r~Out Of Stock", 5000, 1); return 1; } if(PlayerInfo[playerid][pPbiskey] == 1) { GameTextForPlayer(playerid, "~w~No charge for the boss", 5000, 3); TogglePlayerControllable(playerid, 1); return 1; } if (GetPlayerMoneyEx(playerid) < SBizzInfo[1][sbEntranceCost]) { SendClientMessage(playerid, COLOR_GRAD2, " You dont have that much cash !"); return 1; } GivePlayerMoneyEx(playerid,-SBizzInfo[1][sbEntranceCost]); SBizzInfo[1][sbTill] += SBizzInfo[1][sbEntranceCost]; ExtortionSBiz(1, SBizzInfo[1][sbEntranceCost]); SBizzInfo[1][sbProducts]--; } if(HireCar[playerid] != 299) { gCarLock[HireCar[playerid]] = 0; UnLockCar(HireCar[playerid]); } HireCar[playerid] = GetPlayerVehicleID(playerid); OnPropUpdate(); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "~w~We hope you enjoy ~n~the use of this car~n~To lock or unlock your car~n~type ~g~/lock~n~~w~please drive safely",hirefee); TogglePlayerControllable(playerid, 1); GameTextForPlayer(playerid, string, 5000, 3); } return 1; } Este posibil ca in urma unui update Mastertrap21 sa fi modificat ceva fara sa stie. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.