Jump to content

FloriynScr

Membru
  • Posts

    40
  • Joined

  • Last visited

Community Answers

  1. FloriynScr's post in Problema Pizza Boy job was marked as the answer   
    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(sizeof(houseVariables)); SetPlayerCheckpoint(playerid, houseVariables[house][hHouseExteriorPos][0], houseVariables[house][hHouseExteriorPos][1], houseVariables[house][hHouseExteriorPos][2], 1.5); 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) { new randpay = 3400 + random(15); playerVariables[playerid][pMoney] += randpay;      SetTimerEx("RESETTH", 4000, 0, "d", playerid); TELEPORTHACK[playerid] = -1; DisablePlayerCheckpoint(playerid); new house;             house = random(sizeof(houseVariables)); SetPlayerCheckpoint(playerid, houseVariables[house][hHouseExteriorPos][0], houseVariables[house][hHouseExteriorPos][1], houseVariables[house][hHouseExteriorPos][2], 1.5); playerVariables[playerid][pCheckpoint] = 0; format(string, sizeof(string), "~r~Ai castigat ~n~~w~ +$%d", randpay); GameTextForPlayer(playerid, string, 3000, 1); }   Incearca asta;)
×
×
  • Create New...

Important Information

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.