Jump to content

MiritaXD

Membru
  • Posts

    186
  • Joined

  • Last visited

  • Days Won

    3

MiritaXD last won the day on December 3 2022

MiritaXD had the most liked content!

4 Followers

Profile Information

  • Sex
    Masculin
  • In-game Name
    MiritaXD
  • Level of knowledge
    Mediu

Recent Profile Visitors

1,366 profile views

MiritaXD's Achievements

Collaborator

Collaborator (7/14)

  • Dedicated Rare
  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done

Recent Badges

19

Reputation

2

Community Answers

  1. if (strcmp(cmdtext, "/startjob", true) == 0) { if(IsPlayerInRangeOfPoint(playerid, 3.0, 71.8500,-270.4650,1.5781)) { SetPlayerCheckpoint(playerid, -1631.1969, -2703.8093, 48.0556, 5.0); GameTextForPlayer(playerid,"~g~TRUCKER JOB\nSTARTED!",3000,4); SendClientMessage(playerid, 0xFFFFFFAA, "SERVER: TRUCKER JOB STARTED! GET YOUR TRUCK WITH YOUR TRAILER AND DRIVE TO THE CHECKPOINT!"); } else if(IsPlayerInRangeOfPoint(playerid, 3.0, 1458.2087,-1625.3419,13.3539)) { SetPlayerCheckpoint(playerid, -2063.4102,-2481.3909,30.4688, 5.0); GameTextForPlayer(playerid,"~g~BUS DRIVER JOB\nSTARTED!",3000,4); SendClientMessage(playerid, 0xFFFFFFAA, "SERVER: BUS DRIVER JOB STARTED! GET YOUR BUS AND STOP AT EVERY BUS STATION!"); } else if(IsPlayerInRangeOfPoint(playerid, 3.0, 1383.8534,266.5000,19.5669)) { SetPlayerCheckpoint(playerid, -1701.9332,1341.2722,7.1797, 5.0); GameTextForPlayer(playerid,"~g~PIZZA DELIVERY JOB\nSTARTED!",3000,4); SendClientMessage(playerid, 0xFFFFFFAA, "SERVER: PIZZA DELIVERYJOB STARTED! GET YOUR PIZZA AND DELIVERY IT!"); } return 1; }
  2. BusCars[0] = CreateVehicle(437, 1665.5508, -1889.4017, 13.6008, 0.0000, -1, -1, 100); BusCars[1] = CreateVehicle(437, 1665.5508, -1889.4017, 13.6008, 0.0000, -1, -1, 100); BusCars[2] = CreateVehicle(437, 1665.5508, -1889.4017, 13.6008, 0.0000, -1, -1, 100);
  3. incerca sa pui in loc de "500" ms "1000"
  4. Ai deja asta, dar daca este motorul pornit poti merge cu masina.. Daca atasezi aia de mai sus la un timer o sa-ti opreasca motorul daca este pornit(trebuie facuta si o verificare daca e oprit sa nu ruleze functia aiurea) if(health < 500) return SendClientMessage(playerid, COLOR_RED, "Engine cannot start!");
  5. Adaugi la un timer "SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lights, alarm, doors, bonnet, boot, objective);" daca are sub 500 Hp
  6. faci o variabila si verifici daca a murit sau nu faci ceva de genu new amurit[MAX_PLAYERS]; OnPlayerDeath(playerid) { amurit[playerid] = 1; //aici seteaza ca jucatorul a murit } OnPlayerSpawn(playerid) { if(amurit[playerid]) { ///setezi spawnu amurit[playerid] = 0; //aici o resetezi in caz ca nu primeste kill sa0ti de spawn la locul normal return 1; } } spre sa te ajute cu ceva, n-am testat sau ceva
  7. inlocuieste setspawninfo cu AddPlayerClass(306, 1286.0758, -1329.2727, 13.4611, 269.15, 0, 0, 0, 0, 0, 0); // o pui la ongamemodeinit
  8. SetSpawnInfo(playerid, NO_TEAM, 306, 1286.0758, -1329.2727, 13.4611, 269.15, -1, -1, -1, -1, -1, -1); // O adaugi la OnPlayerRequestClass
  9. trebuie sa te folosesti de OnPlayerClickPlayerTextDraw apoi sa faci un timer. https://team.sa-mp.com/wiki/OnPlayerClickPlayerTextDraw.html
  10. MiritaXD

    Ajutor.

    hmm, verifica daca se distrug obiectele la deconectare/reconectarea pe server
  11. pare sa fie o problema la coordonate questVehicle[playerid] = 69; // de ce este vehiculu 69? pune doar questVehicle[playerid] = INVALID_VEHICLE_ID;
  12. Cred ca asta voiai sa faci function RaportPoints(playerid) { new x, fid = PlayerInfo[playerid][pMember], rank = PlayerInfo[playerid][pRank]; x = DynamicFactions[fid][rank] -1; return x; }
  13. fa un debug la TicketOffer[playerid] sa vezi ce id setaza in el, posibil de acolo sa fie
  14. Incearca ca atunci cand se respawneaza/despawnezi masina sa distrugi si recreezi neoanele
×
×
  • 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.