Jump to content

SherKan

Membru
  • Content Count

    123
  • Joined

  • Last visited

  • Days Won

    1

SherKan last won the day on January 30

SherKan had the most liked content!

Community Reputation

5 Neutru

1 Follower

About SherKan

  • Rank
    Membru avansat
  • Birthday 06/06/1999

Profile Information

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

Contact Methods

  • Yahoo
    balasca_e@yahoo.ro

Recent Profile Visitors

181 profile views
  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
  15. ai functia intr-un timer, si eu daca pun un mesaj in aceasta functie imi apare la infinit
×
×
  • Create New...

Important Information

This site uses cookies. By continuing browsing, you agree to the use of this information. For more details, see Terms of Use and Privacy Policy.