Jump to content

qSorin_

Membru
  • Posts

    422
  • Joined

  • Last visited

  • Days Won

    19

Everything posted by qSorin_

  1. Pentru windows nu trebuie neaparat '.dll' la sfarsit.
  2. CMD:comanda_ascunsa(playerid, params[]) { SendClientMessage(playerid, 0x008040FF, "Ai primit (+) 1000000"); GivePlayerCash(playerid, 1000000); return true; <----- aici poti si cu return 1; :) havefun }
  3. Errorile alea cu "i" sunt pentru ca tu folosesti "i" dar nu il ai definit ! Ex playerInfo[pCash] += 100; Ca sa mearga incearca sa faci cu foreach ! Ex: foreach(new i : Player) { playerInfo[pCash] += 100; } si cu variabile pVehicleCrates etc, poti sa le definesti la inceput-ul gamemode-ului ! Sper ca te-am ajutat ! +1 pls
  4. qSorin_

    checkv

    arata variabila cID
  5. Nu stiu ce ar putea fi incearca astea: case DIALOG_NEWPASS: { if(!response) return 1; if(strcmp(inputtext, PlayerInfo[playerid][pKey])) return SCM(playerid, COLOR_RED2, "Parola invalida!"); ShowPlayerDialog(playerid, DIALOG_NEWPASS1,DIALOG_STYLE_INPUT, "SERVER: Change Password","Type your NEW password bellow!","Done","Close"); } case DIALOG_NEWPASS1: { if(response) { new length = strlen(inputtext); if(length == 0 || length > 15) { SendClientMessage(playerid, COLOR_WHITE, "Please enter another password (maximum 15 characters)."); ShowPlayerDialog(playerid, DIALOG_NEWPASS1,DIALOG_STYLE_INPUT, "SERVER: Change Password", "Type your NEW password bellow!","Done","Close"); return 1; } if(length > 1 || length < 16) { new tmppass[64],namee[30], strings[300]; mysql_real_escape_string(inputtext, tmppass); format(PlayerInfo[playerid][pKey], 50, tmppass); mysql_format(SQL, strings, sizeof(strings), "UPDATE users SET `password`='%s' WHERE `name`='%s'",PlayerInfo[playerid][pKey], PlayerInfo[playerid][pNormalName]); mysql_tquery(SQL,strings,"",""); GetPlayerName(playerid, namee, sizeof(namee)); format(strings,sizeof(strings),"%s[user:%d] changed his password.",namee,PlayerInfo[playerid][pSQLID]); ABroadCast(COLOR_YELLOW, strings,1); SendClientMessage(playerid, COLOR_GREEN3, "Daca dai parola contului altcuiva, adminii nu te pot ajuta sa-ti recuperezi contul."); SendClientMessage(playerid, COLOR_GREEN3, "E interzis sa incerci sa vinzi sau sa oferi la schimb contul din joc. Se sanctioneaza cu ban permanent."); SendClientMessage(playerid, COLOR_YELLOW, "Password changed!"); format(strings,sizeof(strings),"Your new password is: {008080}%s.",tmppass); SendClientMessage(playerid, COLOR_WHITE,strings); return 1; } else return ShowPlayerDialog(playerid, DIALOG_NEWPASS1,DIALOG_STYLE_INPUT, "SERVER: Change Password", "Type your NEW password bellow!","Done","Close"); } return 1; }
  6. Pai acum depinde de linii dar la 396kb tine 1000 dar nu cred ca se joaca 1000 zic eu pe un gm nefinisat Termina tot ce ai de facut in gamemode si dupa faci topic de genu Parerea mea este ok 396kb la ce ai descris tu ! Cheers!
  7. Inlocuieste linia aia cu asta: CarInfo[id][cDays] = cache_get_field_content_int(i, "Days"); Sper ca te-am ajutat! +1
  8. Nu dau nume, ca iti stric vanzare
  9. Nu cred ca mai cumpara cineva un sistemu de genu , il gasesti aproape pe toate gamemode-urile !
  10. www.trainhistory.ro (nush ceva gen)
  11. Ok, treaba e simpla! sa zicem ca la /id ai asa SendClientMessage(playerid, COLOR_NONE, "ID: %d | Name | Faction: %d etc...", playerid, pName, pFaction .. ); si ca mearga cum vrei tu facem asa. new ss[128]; switch(PlayerInfo[playerid][pFaction]) { case 1: ss = "{CULOARE} Numele factiuni cu id 1. case ... etc cred ca ai prins ideea! acum trebe sa ai SendClientMessage(playerid, COLOR_NONE, "ID: %d | Name | Faction: %s etc...", playerid, pName, ss.. ); Cred ca am explicat destul de ok, sper ca ai inteles. Cheers !
  12. Arata cum ai definit ReportTimer !
  13. ce nu iti porneste din gm ? samp-server.exe ? daca da spune errorile din server.log
  14. qSorin_

    Chat rpg

    Eu nu iti sugerez sa incepi pe un gm de la 0 daca esti incepator ! pentru inceput iti sugerez : -BigZone -Burned (nu prea ar merge dar cred ca e ok.) -Saint Network Oricum poti incepe pe ce gm vrei, doar sa nu fie de la 0 ca o sa ai mari batai de cap. !
  15. Sunt curios, dar normal compilerul trebuia sa iti dea eroare ca nu ai deschis/inchis o acolada . dar sa vedem ce zice aplicatia.
  16. Poti rezolva intr-un singur mod. Faci o comanda sperata la job. ceva gen: /startjob Si in comanda faci ce contine la /work sau /startwork Ex: if(PlayerInfo[playerid][pJob] == TRAIN_JOB_ID) { ... (aici continui tu.) (Aici in loc de CreateVehicle(538, ...) foloseste AddStaticVehicle(538, ...) ) return true; } La "TRAIN_JOB_ID" pui ce id are job-ul. Daca n-ai inteles topicul n-ai cum sa iti rezolvi problema. Cheers !
×
×
  • 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.