- 0
Bug job turcker
-
Similar Content
-
- 0 replies
- 164 views
-
- 7 replies
- 687 views
-
- 10 answers
- 3.304 views
-
-
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
aNNt
Buna ziua,cand scriu /transport ma urca in tir ma duc la ck-ul pus dar nu-mi da remorca,
CMD:transport(playerid, params[]) { if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "Trebuie sa te loghezi mai intai."); if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pJob] != 14) return SCM(playerid,COLOR_DS,"{FFF8C6}Nu esti Camiongiu."); if(!IsPlayerInRangeOfPoint(playerid, 7.0, -132.5928,-1129.1952,3.0709)) return SCM(playerid,COLOR_DS, "Nu esti la locul unde poti incepe munca."); new level = PlayerInfo[playerid][pCamiongiuSkill]; if(level >= 0 && level <= 50) { if(CamiongiuC[playerid] == 0) { carCamiongiu[playerid] = CreateVehicle(403,-145.2144,-1097.1489,6.2824,256.5808,1,1,-1); PutPlayerInVehicle(playerid,carCamiongiu[playerid],0); new engine, lights, alarm, doors, bonnet, boot, objective; GetVehicleParamsEx(carCamiongiu[playerid],engine,lights,alarm,doors,bonnet,boot,objective); SetVehicleParamsEx(carCamiongiu[playerid],engine,lights,alarm,1,bonnet,boot,objective); SendClientMessage(playerid, COLOR_LIGHTBLUE, "INFO: Dute si incarca marfa."); SetPlayerCheckpoint(playerid, -55.9119,-1128.1163,1.0781, 4.0); CamiongiuC[playerid] = 1; MasinaCamiongiu[playerid] = 1; new camion = GetPlayerVehicleID(playerid); Gas[camion] += 10000; } } else if(level >= 51 && level <= 100) { if(CamiongiuC[playerid] == 0) { carCamiongiu[playerid] = CreateVehicle(403,-154.8341,-1118.1255,5.9570,275.7871,1,1,-1); PutPlayerInVehicle(playerid,carCamiongiu[playerid],0); new engine, lights, alarm, doors, bonnet, boot, objective; GetVehicleParamsEx(carCamiongiu[playerid],engine,lights,alarm,doors,bonnet,boot,objective); SetVehicleParamsEx(carCamiongiu[playerid],engine,lights,alarm,1,bonnet,boot,objective); SendClientMessage(playerid, COLOR_LIGHTBLUE, "INFO: Dute si incarca marfa."); SetPlayerCheckpoint(playerid, -55.9119,-1128.1163,1.0781, 4.0); CamiongiuC[playerid] = 1; MasinaCamiongiu[playerid] = 1; new camion = GetPlayerVehicleID(playerid); Gas[camion] += 10000; } } else if(level >= 101 && level <= 200) { if(CamiongiuC[playerid] == 0) { carCamiongiu[playerid] = CreateVehicle(514,-154.8341,-1118.1255,5.9570,275.7871,1,1,-1); PutPlayerInVehicle(playerid,carCamiongiu[playerid],0); new engine, lights, alarm, doors, bonnet, boot, objective; GetVehicleParamsEx(carCamiongiu[playerid],engine,lights,alarm,doors,bonnet,boot,objective); SetVehicleParamsEx(carCamiongiu[playerid],engine,lights,alarm,1,bonnet,boot,objective); SendClientMessage(playerid, COLOR_LIGHTBLUE, "INFO: Dute si incarca marfa."); SetPlayerCheckpoint(playerid, -55.9119,-1128.1163,1.0781, 4.0); CamiongiuC[playerid] = 1; MasinaCamiongiu[playerid] = 1; new camion = GetPlayerVehicleID(playerid); Gas[camion] += 10000; } } else if(level >= 201 && level <= 400) { if(CamiongiuC[playerid] == 0) { carCamiongiu[playerid] = CreateVehicle(514,-154.8341,-1118.1255,5.9570,275.7871,1,1,-1); PutPlayerInVehicle(playerid,carCamiongiu[playerid],0); new engine, lights, alarm, doors, bonnet, boot, objective; GetVehicleParamsEx(carCamiongiu[playerid],engine,lights,alarm,doors,bonnet,boot,objective); SetVehicleParamsEx(carCamiongiu[playerid],engine,lights,alarm,1,bonnet,boot,objective); SendClientMessage(playerid, COLOR_LIGHTBLUE, "INFO: Dute si incarca marfa."); SetPlayerCheckpoint(playerid, -55.9119,-1128.1163,1.0781, 4.0); CamiongiuC[playerid] = 1; MasinaCamiongiu[playerid] = 1; new camion = GetPlayerVehicleID(playerid); Gas[camion] += 10000; } } else if(level >= 401) { if(CamiongiuC[playerid] == 0) { carCamiongiu[playerid] = CreateVehicle(515,-154.8341,-1118.1255,5.9570,275.7871,1,1,-1); PutPlayerInVehicle(playerid,carCamiongiu[playerid],0); new engine, lights, alarm, doors, bonnet, boot, objective; GetVehicleParamsEx(carCamiongiu[playerid],engine,lights,alarm,doors,bonnet,boot,objective); SetVehicleParamsEx(carCamiongiu[playerid],engine,lights,alarm,1,bonnet,boot,objective); SendClientMessage(playerid, COLOR_LIGHTBLUE, "INFO: Dute si incarca marfa."); SetPlayerCheckpoint(playerid, -55.9119,-1128.1163,1.0781, 4.0); CamiongiuC[playerid] = 1; MasinaCamiongiu[playerid] = 1; new camion = GetPlayerVehicleID(playerid); Gas[camion] += 10000; } } } return 1; }Daca imi puteti seta voi sa-mi puna si remorca cand scrie
Ck-pul este pus mai in fata si daca se poate cand intru in el sa-mi ataseze automat o remorca.
Edited by aNNt0 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