Jump to content

Razvann

Membru
  • Posts

    252
  • Joined

  • Last visited

    Never

Everything posted by Razvann

  1. Nu am inteles nimic, poti reformula te rog?
  2. if(house == 241)//Rroms HQ { SetPlayerInterior(i,0); SetPlayerPos(i,x,y,z); PlayerInfo[pInt] = 0; PlayerInfo[pLocal] = 255; } Asta e gresit total.. pune in loc de SetPlayerInterior(i, 0); numarul interiorului tau.. uita-te pe weedar. Pune in loc de SetPlayerPos coordonatele din interior unde vrei sa intre..
  3. Ai gresit la /enter..posteaza ce ai facut. :D
  4. La OnGameModeInIt() pui AddStaticPickup(1239, 2, coordonatele); Cooronatele le afli dand in joc /save unde vrei sa fie I-ul si le gasesti in folder-ul cu GTA SA, in savedpostions.txt.
  5. Am dublat comanda, am location == 102..cum pot face sa cumpar din alt bizz?Ma refer la /buygun. nu am niciun coordonat.
  6. Razvann

    RepairCar

    Ti-am facut-o eu doar pt cops: if(strcmp(cmd, "/repaircar", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 3 || PlayerInfo[playerid][pMember] == 3) { if(PlayerToPoint(4.0,playerid,1587.8082,-1684.1271,6.2252)) { SendClientMessage(playerid, COLOR_GRAD1, "Vehicle Repaired"); return 1; } if(IsPlayerInAnyVehicle(playerid)) { SetVehicleHealth(GetPlayerVehicleID(playerid), 1000.0); SendClientMessage(playerid, COLOR_COMMANDS, " You are not in the garage"); } } return 1; }
  7. Razvann

    O comanda

    Am comanda /checkweapons: if(strcmp(cmd, "/checkweapons", true) == 0) { if (PlayerInfo[playerid][pAdmin] < 1) { SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use that command!"); return 1; } tmp = strtok(cmdtext,idx); if (!strlen(tmp)) { SendClientMessage(playerid, COLOR_GREY, "USAGE: /checkweapons [playerid/partOfName]"); return 1; } giveplayerid = ReturnUser(tmp); if (giveplayerid == INVALID_PLAYER_ID) { SendClientMessage(playerid, COLOR_GREY, "That player is offline"); return 1; } new sweapon, sammo; GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); format(string, sizeof(string), "%s's weapons are next:", giveplayer); SendClientMessage(playerid, COLOR_GRAD1, string); for (new i=0; i<9; i++) { GetPlayerWeaponData(giveplayerid, i, sweapon, sammo); if(sweapon != 0) { format(string, sizeof(string), "%d have %d with %d bullets.", i, sweapon, sammo); SendClientMessage(playerid, COLOR_GRAD1, string); } } return 1; } Deci, as dori sa imi arate numele armei, nu ID-ul ei, cum pot face? ps: nu folosesc godfather acum..
  8. la OnGameModeInIt nu cred ca trebuia pusa {, sterge-o si vezi daca face tot asa..la mine am avut un speedometer si nu mi se vedea cel pus de mine apoi l-am scos si a mers..
  9. Razvann

    Checkpoint

    E foarte simplu pentru leaders, uite aici: //---------------------------------------[Leaders]----------------------------------------- if (strcmp(cmd, "/leaders", true) == 0) { SendClientMessage(playerid, orice culoare, " ..::Ce vrei tu::.."); SendClientMessage(playerid, orice culoare, "PD Leader: numele liderului"); SendClientMessage(playerid, orice culoare, "F.B.I Leader: "); SendClientMessage(playerid, orice culoare, "NG Leader:"); SendClientMessage(playerid, orice culoare, "Medics Leader: "); SendClientMessage(playerid, orice culoare, "LCN Leader: "); SendClientMessage(playerid, orice culoare, "Yakuza Leader:"); SendClientMessage(playerid, orice culoare, "The Mayor:"); SendClientMessage(playerid, orice culoare, "Hitman Leader: "); SendClientMessage(playerid, orice culoare, "NR Leader: "); SendClientMessage(playerid, orice culoare, "License Leader:"); }
  10. Razvann

    PickUp

    Pai, prima data, iti faci comanda, faci pickup-ul si la comanda pui playertopoint asa: if(PlayerToPoint(1,2,3,4,(cat vrei),playerid,coord xyz de la pickup))
  11. playertopoint, if(PlayerToPoint,1.0 (sau cat vrei), playerid, coords))
  12. Scuzati ca nu am postat, am uitat, am rezolvat, era de la un FS .
  13. Razvann

    Key

    Mersi Vyorel, m-a ajutat mult, puteti inchide. :)
  14. Razvann

    Key

    Ce trebuie sa pun ca sa pot deschide un gate prin click?ce scriu la onplayerkey bla bla..
  15. Razvann

    crash cand mor

    Atunci schimba GM-ul si incearca, merge?
  16. Razvann

    crash cand mor

    Ai prea multe obiecte in GM sau stiu eu ce, scoate si nu iti va mai da.
  17. Uita-te aici: http://www.multitheftauto.com/ dai pe DOWNLOAD la MTA 1.0.1
  18. Am facut eu astazi, incearca MTA 1.0.1, imi merge bine.
  19. Ai alt server in calculator?Daca da, de asta e, sterge-l.
  20. Un script cu crash exista intr-un GM, o sa ti-l pun daca gasesc.
  21. Razvann

    Cum setez ?

    Tu vrei sa faci un stand d-ala de hotdog?Iti fac eu imediat dar zi-mi ce vrei.
×
×
  • 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.