- 0
Problema Pizza Boy job
-
Similar Content
-
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
MytzaMytz
Buna ziua,
Am o problema de care nu pot da de capat, job-ul merge bine ,dar are un bug, dupa ce dau /pizza ma trimite la un checkpoint si imi da 15.000$ , dupa aceea ma trimite pe un camp si acolo e alt checkpont, iar daca intru in el imi da bani incontinuu, daca stie cineva cum pot rezolva acest bug.
Ce am in GM:
CMD:pizza(playerid,params[]) { new newcar = GetPlayerVehicleID(playerid); if(vehicleVariables[newcar][vVehicleJob] == 6 && playerVariables[playerid][pJob] == 6) { if(playerVariables[playerid][pPiz] == 0) { PlayerIsSweeping[playerid] = 1; new house; house = random(systemVariables[houseCount]); SetPlayerCheckpoint(playerid, houseVariables[house][hHouseExteriorPos][0], houseVariables[house][hHouseExteriorPos][1], houseVariables[house][hHouseExteriorPos][2], 5.0); SendClientMessage(playerid, COLOR_WHITE, "Your working hours is up! Go to red checkpoint."); playerVariables[playerid][pPiz] = 120; } else SCM(playerid,-1,"You can use /pizza only at 2 minutes."); } else SCM(playerid,-1,"You are not a pizza boy."); return 1; }+
if(vehicleVariables[carid][vVehicleJob] == 6) { PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0); DisablePlayerCheckpoint(playerid); playerVariables[playerid][pMoney] += 15000; new house; house = random(systemVariables[houseCount]); SetPlayerCheckpoint(playerid, houseVariables[house][hHouseExteriorPos][0], houseVariables[house][hHouseExteriorPos][1], houseVariables[house][hHouseExteriorPos][2], 5.0); format(string, sizeof(string), "~r~Ai castigat ~n~~w~ $15000!"); GameTextForPlayer(playerid, string, 3000, 1); } } return 1; }2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now