Jump to content

marin1223

Membru
  • Posts

    13
  • Joined

  • Last visited

Everything posted by marin1223

  1. problema rezolvata, t/c
  2. Am o problema, daca un player intra pe server cel de-al doilea player care incearca sa intre nu se poate loga. OnPlayerConnect: https://pastebin.com/LGJyMbDf server_log: 01:28:13] [debug] #0 001eb678 in ?? (1) from gamemode.amx [01:28:13] [debug] #1 00038408 in public AB_OnPlayerConnect (1) from gamemode.amx [01:28:13] [debug] #2 0001bc64 in public L_AFK_OPC (1) from gamemode.amx [01:28:13] [debug] #3 native CallLocalFunction () from samp03svr [01:28:13] [debug] #4 0001b248 in public GAC_OnPlayerConnect (1) from gamemode.amx [01:28:13] [debug] #5 native CallLocalFunction () from samp03svr [01:28:13] [debug] #6 0001a47c in public MP_OPC (1) from gamemode.amx [01:28:13] [debug] #7 native CallLocalFunction () from samp03svr [01:28:13] [debug] #8 0001746c in ?? (1) from gamemode.amx [01:28:13] [debug] #9 0000e4e8 in public SSCANF_OnPlayerConnect (1) from gamemode.amx [01:28:13] [debug] #10 000024fc in public Itter_OnPlayerConnect (1) from gamemode.amx [01:28:13] [debug] #11 0000135c in public OnPlayerConnect (1) from gamemode.amx
  3. Incepe de la gamemode Saints.
  4. Acum am observat si eu greseala de la functie. mersi. T/C rezolvat.
  5. Am incercat sa fac un admin chat dar nu merge... CMD:adminchat(playerid, params[]) { new mesaj[128], string[128]; if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_ERROR, "Nu esti admin."); if(sscanf(params, "s[128]", mesaj)) return SendClientMessage(playerid, COLOR_SYN, "Foloseste: /adminchat <mesaj>"); { if(PlayerInfo[playerid][pAdmin] > 1 && PlayerInfo[playerid][pAdmin] < 5)format(string, sizeof(string), "Admin %s[lv %d]: %s", GetName(playerid), PlayerInfo[playerid][pAdmin], mesaj); AdminChat(COLOR_AC, string, 1); } return 1; } function AdminChat(color, mesaj[], lv) { foreach(new i : Player) { if(PlayerInfo[pAdmin] >= lv) { SendClientMessage(i, color, mesaj); } } return 1; }
  6. La orice fac primesc loose indentation.. nu stiu ce sa mai fac.. codul este asezat bine dar tot primesc loose indentation.
  7. La jucator ii apare mesajul dat de helper, si helperului ii apare dat de acesta jucatorului.
  8. Nu mai imi da loose indentation, dar acum pe server nu apare jucatorului raspunsul dat de helper.
  9. Imi da problema asta: (17227) : warning 217: loose indentation (17254) : warning 217: loose indentation Am asezat codul dar degeaba. cod pe pastebin https://pastebin.com/2WLVfRWR Linia 17727 este if(strlen(gString) > 120), si linia 17254 este if(HelperAnswer[x] == playerid)
×
×
  • 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.