Jump to content

heker

Membru
  • Posts

    617
  • Joined

  • Last visited

    Never

Posts posted by heker

  1. Sub OnPlayerDeath pune asta:

    [pawn] if(PlayerInfo[playerid][pHeadValue] > 0)

    {

        if(IsPlayerConnected(killerid))

        {

        if(gTeam[killerid] == 1 || PlayerInfo[killerid][pLeader] == 8)

        {

            if(GoChase[killerid] == playerid)

            {

                ConsumingMoney[killerid] = 1;

    new killer[MAX_PLAYER_NAME];

    GetPlayerName(killerid, killer, sizeof(killer));

    GivePlayerMoney(killerid, PlayerInfo[playerid][pHeadValue]);

    format(string,128,"* {FFFFFF}Hitman {FFF1AF}%s {FFFFFF}a indeplinit contractul pe {6EF83C}%s {FFFFFF}si a primit {00C0FF}$%d",killer,name,PlayerInfo[playerid][pHeadValue]);

    SendFamilyMessage(8, COLOR_YELLOW, string);

    PlayerInfo[playerid][pHeadValue] = 0;

    GotHit[playerid] = 0;

    GetChased[playerid] = 999;

    GoChase[killerid] = 999;

    }

    }

    }

    }[/pawn]

    idiotule, ai testat tu si ti-a mers ? esti prost ingramadit, nu vezi ca este doar || PlayerInfo[killerid][pLeader] == 8

  2. Salut baieti,stie cineva cum pot scoate melodia care canta in timpul tutorialului :-??

    Si inca o problema : mi-se incarca foarte greu sistemul de inregistrare/logare hostul este foarte bun nu are lag.. :|

    mai exact cand incepe melodia ? fix cand incepe tutorialul ? urmareste la secunda cand incepe si care este mesajul, cauta in mod mesajul si ai 2 posibilitati

    1. PlayerSound sau cum era :))

    2. Functia de la 0.3d cu mp3 url

  3. Deci am asa am vrut sa bag comanda adminduty si imi da erorile de mai jos

    nush dc la linia 23433  am asa          if(AdminDuty[playerid] == 1)

                                  {

    C:\Users\Home\Desktop\RPG RomaniaLife\gamemodes\RomaniaLife.pwn(23433) : error 017: undefined symbol "AdminDuty"

    C:\Users\Home\Desktop\RPG RomaniaLife\gamemodes\RomaniaLife.pwn(23433) : warning 215: expression has no effect

    C:\Users\Home\Desktop\RPG RomaniaLife\gamemodes\RomaniaLife.pwn(23433) : error 001: expected token: ";", but found "]"

    C:\Users\Home\Desktop\RPG RomaniaLife\gamemodes\RomaniaLife.pwn(23433) : error 029: invalid expression, assumed zero

    C:\Users\Home\Desktop\RPG RomaniaLife\gamemodes\RomaniaLife.pwn(23433) : fatal error 107: too many error messages on one line

    Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

    4 Errors.

    tine tot comanda ta si defineste global

    new AdminDuty[MAX_PLAYERS];

    iar la OnPLayerConnect adaugi

    AdminDuty[playerid] = 0;

×
×
  • 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.