Jump to content

Leonard

Administrator
  • Posts

    1,303
  • Joined

  • Last visited

  • Days Won

    53

Reputation Activity

  1. Haha
    Leonard got a reaction from MasterAdv in Recrutez scripter.   
    cascaval vr, cascavalu difera de la sistem la sistem
  2. Wow
    Leonard got a reaction from MasterAdv in Recrutez scripter.   
    dak te int, call me
  3. Haha
    Leonard reacted to regeletau in Proiect K1nG v2   
    Salut, pentru ca am timp, am zis sa incep si eu un gamemode de editat, si in ultimul timp chiar am avut chef de scripting.
    am vazut gamemode-ul rofixed, si am zis hmm, de ce sa nu incep un edit de la acest gamemode, e editat de la vortex, si este destul de bine optimizat(pentru inceput), nu ai multe de rescris.
    si am zis ca na, hai sa incerc, am lucrat o zi(cu oprire), si vreau sa postez aicic sa vedeti si voi ce update-uri aduc acestui gamemode.
    P.S: dupa terminare, o sa vand gamemode-ul, sau o sa-l postez gratuir pe acest forum (vedem ???? )
    Gamemode-ul a fost creat de: SoNNy aka (Sinner)
                                                                                                                              Update v1
     
     
  4. Like
    Leonard got a reaction from regeletau in Gamemode Chronos   
    Cod antic
  5. Haha
    Leonard reacted to Dennis12 in [VAND] Gamemode de la 0   
    Nu recomand.
    Ai fost pe o comunitate, nu mai stiu ce nume avea .. owner-ul ti-a cerut sa ii faci un amarat sistem de clanuri si nu ai fost in stare, ce ai facut la el si ala buguit.
    Plus de asta dupa cum te cunosc de acum ceva timp pun pariu ca peste 50% din cod nu iti apartine. ( Nu am dovezi care sa ateste asta, evident, dar sunt destul de vechi in domeniu si am apucat sa va cunosc pe fiecare ???? ) 
    Bonus, sa nu uitam live-urile prietenului tau StefanAdv, te mai intreba cateva chestii foarte simple si ii spuneai "nu stiu sigur, stai sa ma uit pe gamemode" sau cand te-a intrebat ceva mai complex stiu ca ai spus " hai ca eu ies ca am niste treaba, ai grija ce faci pe acolo " :))  Nu zic, poate chiar aveai treaba, dar totusi, chiar in momentul ala trebuia sa iesi .. 
     
     
  6. Like
    Leonard got a reaction from Matt in [REZOLVAT] Cum pot sa   
    nu poti
  7. Like
    Leonard got a reaction from RWRobi in [Pro-Gaming] Forum - Story system   
    ????
    Interesant
  8. Haha
    Leonard got a reaction from Dueno in [REZOLVAT] Intrebare buguri   
    tot gm u e un bug
  9. Upvote
    Leonard got a reaction from Matt in [REZOLVAT] Intrebare buguri   
    tot gm u e un bug
  10. Like
    Leonard got a reaction from SpokenAdv in [REZOLVAT] help plz.   
    Faci un stock care sa te ajute la verificari mai usor:
    stock strmatch( const String1[], const String2[] ) { if( ( strcmp( String1, String2, true, strlen( String2 ) ) == 0 ) && ( strlen( String2 ) == strlen( String1 ) ) ) return 1; else return 0; }  
    Faci inca un stock pentru a verifica numele jucatorului daca e scritper:
    stock IsPlayerScripter( playerid ) { if( strmatch( getName( playerid ), "Leonard" ) ) return 1; return 0; }  
    Iar la comanda pui:
    if( IsPlayerScripter( x ) ) SCMF( playerid, ~1, "(%d) %s - scripter", x, getName( x ) ); else SCMF( playerid, ~1, "(%d) %s - admin level %d", x, getName( x ), PlayerInfo[ x ][ pAdmin ] );  
    Eu ti-am dat doar un exemplu de unde poti pleca.
  11. Like
    Leonard reacted to dOc in SHOP DOC   
    Sigur, da mai vreau si 2 vafe.
  12. Upvote
    Leonard got a reaction from Dueno in Baza de date rpg.dty.ro pusa la download ! <3   
    Topic inchis, next ai ban.
  13. Upvote
    Leonard got a reaction from Flow in [REZOLVAT] Problema Run time error 4   
    [11:48:07] [debug] Run time error 4: "Array index out of bounds" [11:48:07] [debug] Accessing element at index 65535 past array upper bound 999  
    Accesezi un array cu un numar prea mare decat cel stabilit.. e cam greu sa-ti dai seama unde-i problema din cauza public-ului atat de mare si incarcat...
  14. Upvote
    Leonard got a reaction from DiBlaine in Tutorial - /goto in masina   
    @DiBlaine poftim.
     
    O constanta cu toate locurile vehiculelor.
    new const MaxVehicleSeats[ 212 ] =  {      4, 2, 2, 2, 4, 4, 1, 2, 2, 4, 2, 2, 2, 4, 2, 2, 4, 2, 4, 2, 4, 4, 2, 2, 2,      1, 4, 4, 4, 2, 1, 9, 1, 2, 2, 0, 2, 9, 4, 2, 4, 1, 2, 2, 2, 4, 1,      2, 1, 2, 0, 2, 1, 1, 1, 2, 2, 2, 4, 4, 2, 2, 1, 2, 1, 2, 4, 4, 2, 2, 4, 2, 1,      1, 2, 2, 1, 2, 2, 4, 2, 1, 4, 3, 1, 1, 1, 4, 4, 2, 4, 2, 4, 1, 2, 2, 2, 4, 4,      2, 2, 2, 2, 2, 2, 2, 2, 4, 2, 1, 1, 2, 1, 1, 2, 2, 4, 2, 2, 1, 1, 2, 2, 2, 2,      2, 2, 2, 2, 4, 1, 1, 1, 2, 2, 2, 2, 2, 2, 1, 4, 2, 2, 2, 2, 2, 4, 4, 2, 2, 4,      4, 2, 1, 2, 2, 2, 2, 2, 2, 4, 4, 2, 2, 1, 2, 4, 4, 1, 0, 0, 1, 1, 2,      1, 2, 2, 4, 2, 4, 4, 2, 4, 1, 0, 4, 2, 2, 2, 2, 0, 0, 2, 2, 1, 1,      4, 4, 4, 2, 2, 2, 2, 2, 4, 2, 0, 0, 0, 4, 0, 0  };  O functie care verifica daca masina X are vreun loc liber, daca are, functia va returna locul liber daca nu, va returna -1.
    GetFreeSeat( vehicleid ) // sa-mp.com { new vehiclemodel = GetVehicleModel(vehicleid); if( vehiclemodel ) { new bool: seattaken[ 10 ], playerseat = -1 ; foreach( new i : Player ) { if( !IsPlayerInVehicle( i, vehicleid ) ) continue; playerseat = GetPlayerVehicleSeat( i ); if( 0 <= playerseat < 128 ) seattaken[ playerseat ] = true; } for( new v = 0; v < MaxVehicleSeats[ vehiclemodel - 400 ]; v++ ) { if( seattaken[ v ] ) continue; return v; } } return -1; }  
    Un exemplu de comanda:
    CMD:goto( playerid, params[], help ) { // verificari, etc. new Float: posX, Float: posY, Float: posZ, vehID; vehID = GetPlayerVehicleID( target ); GetPlayerPos( target, posX, posY, posZ ); // Aici verifi daca jucatorul se afla intr-un vehicul if( IsPlayerInAnyVehicle( target ) ) { // Aici verifici daca vehiculul jucatorului nu are nici un loc liber if( GetFreeSeat( vehID ) == -1 ) SetPlayerPos( playerid, posX, posY + 2, posZ ); // Aici iti setezi pozitia la coordonatele jucatorului else PutPlayerInVehicle( playerid, vehID, GetFreeSeat( vehID ) ); // Aici iti setezi pozitia in vehiculul jucatorului } else SetPlayerPos( playerid, posX, posY + 2, posZ ); return true; }  
  15. Like
    Leonard got a reaction from Fresh in Baza de date rpg.dty.ro pusa la download ! <3   
    Topic inchis, next ai ban.
  16. Haha
    Leonard got a reaction from Fresh in Phrase 3X   
    Repede te-ai razgandit ????
     
    Topic locked.
  17. Like
    Leonard got a reaction from HaoSs07 in Vand - gamemode & panel   
    Topic locked.
  18. Haha
    Leonard got a reaction from Dueno in Gamemode by Tud0r v2.0 (de la 0)   
    Dupa cum a spus si Tud0r, e foarte prost facut si optimizat.
  19. Like
    Leonard got a reaction from B0GD4N in Warmania Gametracker   
    Succes cu proiectul.
  20. Haha
    Leonard reacted to keNN. in [REZOLVAT] TIMER!   
    Bravo coaie.
  21. Upvote
    Leonard got a reaction from Matt in [REZOLVAT] TIMER!   
    ????
     
    De ce ai face un foreach intr-un timer per player? ... nu-i logic ca e apelat la fiecare jucator in parte?
    Pentru a face un timer mai usor, foloseste-te de libraria YSI, mai exact de include-ul y_timers.
     
    ptask onPlayerSecondTimer[ 1000 ]( playerid ) { // your code return true; }  
  22. Haha
    Leonard got a reaction from Dani3l. in [REZOLVAT] Intrebare buguri   
    tot gm u e un bug
  23. Furie
    Leonard got a reaction from regeletau in [REZOLVAT] Intrebare buguri   
    tot gm u e un bug
  24. Tristete
    Leonard reacted to Dennis12 in Cine crezi ca va posta urmatorul?   
    Nah
     
    @Reborn
  25. Haha
    Leonard got a reaction from Dueno in Loly Scripteru   
    Ba valeti, certati-va in alta parte.
     
    Topic Closed.
×
×
  • Create New...