Jump to content

SherKan

Membru
  • Posts

    122
  • Joined

  • Last visited

  • Days Won

    1

SherKan last won the day on January 30 2019

SherKan had the most liked content!

About SherKan

  • Birthday 06/06/1999

Profile Information

  • Sex
    Masculin
  • Location
    Roman
  • In-game Name
    SherKan
  • Level of knowledge
    Avansat

Contact Methods

Recent Profile Visitors

527 profile views

SherKan's Achievements

Enthusiast

Enthusiast (6/14)

  • First Post
  • Collaborator
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

5

Reputation

2

Community Answers

  1. nu cred ca poti, deschide-l in beta, incepe cu 50 dupa 100 dupa 200 si vezi singur
  2. arata ce ai modificat de nu-ti mai merge
  3. if(text[0] >= 'a' && text[0] <= 'z') ex de verificare pentru litera mica, iar pentru litera mare pui litere mari
  4. nu prea conteaza cate linii are, conteaza cat de bine e scris codul
  5. main() nu trebuie sters niciodata, e esential in programare, aproape orice program are o functie main
  6. SherKan

    SSCANF

    arata linia, e d la un parametru introdus gresit la sscanf( translate: Formatul de specificare nu se potrivește numărului de parametri.
  7. daca ai sistem de hash degeaba poti sa pui acolo la password ce vrei tu ca nu vei putea sa te conectezi la acel cont
  8. incearca sa pui in loc de switch(PlayerInfo[playerid][pMember]) {.. switch(PlayerInfo[playerid][pMember]+PlayerInfo[playerid][pLeader]) {
  9. vezi daca s-a conectat cu succes baza de date
  10. ai cumva in server si variabila [pLeader] ?
  11. arata functia SetPlayerToTeamColor
  12. incearca sa faci ceva de genu new gunname; if(sscanf(params, "i", gunname)) { SendClientMessage(playerid, COLOR_GREY, "Syntax:{FFFFFF} /setorder Arma"); SendClientMessage(playerid, COLOR_WHITE, "Available names: Deagle(1), M4(2)."); return 1; } if(gunname == 1) ShowPlayerDialog(playerid, DIALOG_DEAGLE,DIALOG_STYLE_INPUT, "Arma deagle","Scrie numarul de glooante(Nrx40gloante)","Ok","Close"); else etc.. ..
  13. comanda gasita intr-un gm mai vechi, poate iti este de folos cumva if(strcmp(cmd, "/givemoney", true) == 0) { if(IsPlayerConnected(playerid)) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /givemoney [playerid/PartOfName] [money]"); return 1; } new playa; new money; playa = ReturnUser(tmp); tmp = strtok(cmdtext, idx); money = strval(tmp); if (PlayerInfo[playerid][pAdmin] >= 7) { if(IsPlayerConnected(playa)) { if(playa != INVALID_PLAYER_ID) { //ConsumingMoney[playa] = 1; GivePlayerCash(playa, money); GetPlayerName(playa, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, 256, "AdmWarning: %s has admin-given %s $%d.", sendername,giveplayer,money); ABroadCast(COLOR_LIGHTRED,string,1); } } } else { SendClientMessage(playerid, COLOR_GRAD1, " nu esti autorizat sa folosesti aceasta comanda!"); } } return 1; }
  14. nu neaparat, eu am avut odata o comanda care imi dadea crash la server si se inchidea
×
×
  • 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.