- 0
Problema comanda
-
Similar Content
-
- 4 replies
- 416 views
-
- 1 answer
- 234 views
-
- 3 answers
- 347 views
-
- 3 answers
- 949 views
-
- 3 replies
- 398 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
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..
Link to comment
Share on other sites
4 answers to this question
Recommended Posts