- 0
Job
-
Similar Content
-
- 0 replies
- 101 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
Tikitaka
Problema intalnita (descriere):Am creeat un job, care atunci cand mergi pe o anumita zona cu pete 25 km/h sa primesti 300$ odata la 3 secunde, dar cum pot face ca atunci cand se lasa afk sa nu primeasca bani?
Ero(area / rile) / warning-(ul / urile):
Liniile de cod / sursa / script-ul:
public SetMower(playerid) { if(mowerc[playerid] == 1) { if(PlayerToPoint(150.0,playerid, -291.0211,-1428.4664,12.8581)) { new tmpcar = GetPlayerVehicleID(playerid); new ccar = IsPlayerInAnyVehicle(playerid); new spe = Carspeed(playerid); if(ccar && IsAMower(tmpcar) && spe > 10) { if(mowermoney[playerid] <= 15000) { mowermoney[playerid] += 375; new str2[128]; format(str2,sizeof(str2),"Money earned: $%d",mowermoney[playerid]); TextDrawSetString(Bus2[playerid], str2); TextDrawShowForPlayer(playerid, Bus2[playerid]); GivePlayerCash(playerid, 375); Update(playerid, pCashx); } else if(mowermoney[playerid] > 15000) { mowermoney[playerid] = 0; mowerc[playerid] = 0; RemovePlayerFromVehicleEx(playerid); KillTimer(timerm[playerid]); TextDrawHideForPlayer(playerid, Bus2[playerid]); } } } else { TextDrawHideForPlayer(playerid, Bus2[playerid]); GameTextForPlayer(playerid, "~r~You are not in farmer area.", 3000, 1); } } return 1; }Imagini / Video (optional):
Ati incercat sa rezolvati singur?:
8 answers to this question
Recommended Posts