- 0
Problema comanda
-
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
Ainox
Ero(area / rile) / warning-(ul / urile): Comanda /pizza nu functioneaza, cand ma urc pe scuter nu se intampla nimic, iar daca ma dau jos imi spune ca nu am jobul, desi il am.
Liniile de cod / sursa / script-ul(obligatoriu): 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;
}
Imagini / Video (optional):
Ati incercat sa rezolvati singur?: Da..
4 answers to this question
Recommended Posts