Jump to content

soleko

Membru
  • Posts

    2
  • Joined

  • Last visited

Profile Information

  • Level of knowledge
    Mediu

soleko's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

1

Reputation

  1. CMD:work(playerid, params[]) { if(PlayerInfo[playerid][pJob] == 0) return SCM(playerid, COLOR_LIGHTRED, "You don't have a job!"); if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "Error: You need to login first."); if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_WHITE, "You can't use this command when you are in a car."); { if(PlayerInfo[playerid][pJob] == 5) { if(PlayerToPoint(5.0,playerid, 2097.3145,-1806.6183,13.5534)) { if(PizzaCar[playerid] == 0) { PizzaCar[playerid] = 1; PizzaCar[playerid] = AddStaticVehicle(448,2093.5256,-1806.4095,13.1497,89.0327,3,6); DisablePlayerCheckpoint(playerid); Gas[PizzaCar[playerid]] = 100; PutPlayerInVehicleEx(playerid, PizzaCar[playerid], 0); } else return SendClientMessage(playerid, COLOR_WHITE, "{FFFFCC}Nu poti spawna mai multe scootere!"); } SetPlayerCheckpoint(playerid,2093.5256,-1806.4095,13.1497, 7.0); SCM(playerid, -1, "(Job) Urmeaza checkpoint-ul pentru a putea folosi /work!"); CP[playerid] = 43; } if(PlayerInfo[playerid][pJob] == 14) { if(PlayerToPoint(5.0,playerid, -83.0274,-1127.3881,1.6843)) { if(TruckCar[playerid] == 0) { TruckCar[playerid] = 1; TruckCar[playerid] = AddStaticVehicle(403,-83.0274,-1127.3881,1.6843,64.3507,223,223); PutPlayerInVehicleEx(playerid, TruckCar[playerid], 0); Gas[TruckCar[playerid]] = 100; PutPlayerInVehicleEx(playerid, TruckCar[playerid], 0); } else return SendClientMessage(playerid, COLOR_WHITE, "{FFFFCC}Nu poti spawna mai multe camioane!"); } SetPlayerCheckpoint(playerid,-83.0274,-1127.3881,1.6843, 7.0); SCM(playerid, -1, "(Job) Urmeaza checkpoint-ul pentru a putea folosi /work!"); CP[playerid] = 43; } } return 1; } Vreau sa adaug un timer , ca atunci cand se da jos din masina la 30 de secunde sa se distruga masina, help pls!
×
×
  • 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.