Jump to content

danut

Membru
  • Posts

    12
  • Joined

  • Last visited

danut's Achievements

Apprentice

Apprentice (3/14)

  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. danut

    Problema heal

    Am facut ce ai zis, viata mai face ceva probleme dar nu asa de rau. Cand omor pe cineva, nu-l baga in jail. Cand am un contract pe cineva si il omor, nu se intampla nimic. Imi puteti da si mie functia OnPlayerGiveDamage?
  2. SAlut SAMP. Am un bug la heal, cand trag in cineva scade si creste la loc. Am mai reparat bugul asta, am adaugat functia OnPlayerGiveDamage, dar nu o mai gasesc. O fi de la OnPlayerTakeDamage? public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid) { if(issuerid == INVALID_PLAYER_ID) { RealHealth[playerid] -= amount; SetPlayerHealthEx(playerid,RealHealth[playerid]); } if(issuerid != INVALID_PLAYER_ID) { SetPlayerHealthEx(playerid,RealHealth[playerid]); if(GetPlayerCameraMode(issuerid) != 53 || !IsPlayerConnected(issuerid)) return 1; if(weaponid == 24 || weaponid == 25) { { new targetplayer = GetPlayerTargetPlayer(issuerid); if(targetplayer == INVALID_PLAYER_ID) { new name[50]; new string[256]; GetPlayerName(issuerid,name,50); format(string,256,"AdmWarning: %s (%d) might be using joypad (/recon %d)",name,issuerid,issuerid); ABroadCast(COLOR_LIGHTRED,string,1); return 1; } } } } return 1; }
  3. Mi-am dat seama dupa ce am postat ca am gresit sectiunea. Iti multumesc pentru ajutor.
  4. unde? vreau sa ajung in pozitia asta "1779.3185,-1576.1315,1734.9430"
  5. Salut. Vreau sa ajung intr-o pozitie cu map editor si nu stiu cum. Am bagat un jail si nu stiu cum sa ajung la el cu map editor, vreau sa modific ceva la el.
  6. danut

    Problema heal

    public SetPlayerHealthEx(playerid, Float:health) { if(IsPlayerConnected(playerid)) { RealHealth[playerid] = health; SetPlayerHealth(playerid,health); return 1; } return 1; }
  7. danut

    Problema heal

    Problema vine de la asta? if(GetPlayerWeapon(i) == 1 && GetPlayerWeapon(i) == 9 && GetPlayerWeapon(i) == 14 && GetPlayerWeapon(i) == 15 && GetPlayerWeapon(i) == 16 && GetPlayerWeapon(i) == 17 && GetPlayerWeapon(i) == 18 && GetPlayerWeapon(i) == 22 && GetPlayerWeapon(i) == 26 && GetPlayerWeapon(i) == 27 && GetPlayerWeapon(i) == 28 && GetPlayerWeapon(i) == 32 && GetPlayerWeapon(i) == 35 && GetPlayerWeapon(i) == 36 && GetPlayerWeapon(i) == 37 && GetPlayerWeapon(i) == 39 && GetPlayerWeapon(i) == 40 && GetPlayerWeapon(i) == 41 && GetPlayerWeapon(i) == 42 && GetPlayerWeapon(i) == 45) { new plname[64]; new string[128]; new gunname[32]; gPlayerAccount = 1; GetPlayerName(i, plname, sizeof(plname)); GetWeaponName(i,gunname,sizeof(gunname)); format(string, sizeof(string), "AdmCmd: %s was banned by AdmBot, reason: Ilegal Weapon(%s)", plname, gunname); SendClientMessageToAll(COLOR_LIGHTRED, string); Ban(i); } } } }
  8. danut

    Problema heal

    public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid) { if(issuerid == INVALID_PLAYER_ID) { RealHealth[playerid] -= amount; SetPlayerHealthEx(playerid,RealHealth[playerid]); }
  9. Salut, am o problema cu sistemul de heal. Cand trag in cineva nu ii scade viata, arata ca scade dar creste la loc foarte repede.
  10. danut

    Problema pwn

    Contactati'ma pe messenger: < bla bla > Exista aceea functie.
  11. danut

    Problema pwn

    Am server-ul de la un prieten, nu stiu unde si ce a modificat.
  12. Imi da multe errori, ma ajuta cineva?
×
×
  • 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.