Jump to content

PawnFox

Membru
  • Posts

    764
  • Joined

  • Last visited

Everything posted by PawnFox

  1. Arata-ne ce ai la OnDialogResponse De unde vrei sa stim ?
  2. Posteaza si eroarea :rolleyes:
  3. O sa ti se vada scrisul ...
  4. :shocked: cuiva i-a venit ciclul. In primul rand invata sa vorbesti limba romana, fara 'cocalarisme' si dupa aia adreseaza-te pe un forum si te-as mai sfatui sa citesti regulamentul inainte sa postezi Nu mai fa offtopic ;)
  5. Asta numesti tu FS ? E mult prea usor ... si prea putin. ; Anyway, e bun pentru incepatori :D
  6. Updateaza streamer-ul , si pluginul dar si include-ul iar dupa aia recompileaza toate FS urile si GM -ul
  7. Aia se numeste decompiliere , si cred ca este interzis
  8. Pai trebuie pluginul si trebuie creeata baza de data .. trebuie sa ai instalt wampServer :)
  9. Nu este nevoie sa faci 2x post. Daca stie cineva te va ajuta. Din ce ne-ai dat tu acolo nu ne putem da seama, da-ne tot ce este legat de war ... nu despre case :P
  10. Se poate scoate, dar nu are rost, MySQL este cel mai bun sistem de salvat date. Dupa parerea mea este ce-a mai mare prostie. Normal, e un pic mai complicat de folosit dar este cel mai sigur ( nu se pierd datele daca este folosit corect ) si cel mai bun :)
  11. Frumos, nu am mai vazut asa ceva pe aici )
  12. Daca inteleg eu bine, tu ai pus o comanda la 'OnPlayerPickup' ? Corect e: [pawn] if( pickupid == Pickup ) { ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, "INFO", "Aici se vor afla informatii despre server", "OK","YE"); return 1; } [/pawn]
  13. La acel string, de descurcati cu un singur strcat :D :D
  14. da ne arati si liniile ? De unde vrei sa stim ce ai tu acolo ;;)
  15. TL;DR ( Too Long : Didn't read ) Anyway, acel forum se duce in jos ...si Armyw0w nu am auzit niciodata de el, doar intr-o buna zi l-am vazut administrator aici Si probabil cand eram in [DSK] prin 2009 el inca juca solitaire Farse, nici nu mai zic, e un frustrat invidios, si heatOFF si GayrdianAngel si multi altii care au fost in SRC. Pe vremea aceea [DSK] rullz Nici nu mai vreau sa comentez
  16. Ce legatura are asta cu topicul. Nu fa off-topic, o sa primesti warn!
  17. Frumos, cum a zis Darky, sa mai lucrezi la indentare gg :)
  18. Depinde ce procesor de comenzi ai, banuiesc ca folosesti GF .. if(strcmp(cmdtext, "/blabal", true ) == 0 ) { if( P_DATA [ playerid ] [ P_LEVEL ] < 1 ) si restul comenzii return 1; }
  19. E clar ca nu stii nimic. Ti-am aratat unde se pune functia care verifica level-ul de admin. Nu se pune pe o linie exacta, se pune dupa CMD:blabal( playerid, params[ ] ) ... :)
  20. #define PATH "/Accounts/%s.ini" Pentru a salva fiecare cont :)
  21. Nu trebuie sa instalezi Net Framework 1.1 , 2.0 .. etc ci iei ultima versiune :)
  22. pai sa-ti dau un exemplu de comanda de admin din GM-ul meu CMD:kick( playerid, params[ ] ) { new m_gString [ 256 ], g_aString [ 256 ], pName [ 24 ], oName [ 24 ], pIP [ 50 ], Reason [ 256 ], P_ID ; new year, month, date; getdate(year, month, date); new hour, minute, second; gettime(hour, minute, second); if( pData [ playerid ] [ pAdmin ] < 1 ) return SendError( playerid, "You are not authorized to use this command! "); if( sscanf ( params, "is[256]", P_ID, Reason ) ) return SendUsage( playerid, "/kick [id] [reason] "); if( P_ID == playerid ) return SendError( playerid, "You cannot kick yourself! "); GetPlayerName( playerid, pName, sizeof ( pName ) ); GetPlayerName( P_ID, oName, sizeof ( oName ) ); GetPlayerIp( P_ID, pIP, sizeof ( pIP ) ); format( m_gString, sizeof ( m_gString ), ">> %s (ID: %d) has kicked %s (ID: %d) for: %s ", pName, playerid, oName, P_ID, Reason ); SendClientMessageToAll( COLOR_ORANGE, m_gString ); format( m_gString, sizeof ( m_gString ), "(ModMsg) %s (ID: %d) has kicked %s (ID: %d) for: %s (IP: %s) ", pName, playerid, oName, P_ID, Reason, pIP ); SendModMsg( COLOR_YELLOW, m_gString ); SendClientMessage( playerid, -1, ""); format( g_aString, sizeof ( g_aString ), ">> You have been kicked, write down this informations: "); SendClientMessage( playerid, COLOR_ORANGE, g_aString ); format( g_aString, sizeof ( g_aString ), ">> Admin: %s (ID: %d) ", pName, playerid ); SendClientMessage( playerid, COLOR_YELLOW, g_aString ); format( g_aString, sizeof ( g_aString ), ">> Reason: %s", Reason ); SendClientMessage( playerid, COLOR_YELLOW, g_aString ); format( g_aString, sizeof ( g_aString ), ">> Date: %d/%d/%d ", year, month, date ); SendClientMessage( playerid, COLOR_YELLOW, g_aString ); format( g_aString, sizeof ( g_aString ), ">> Time: %d/%d/%d ", hour, minute, second ); SendClientMessage( playerid, COLOR_YELLOW, g_aString ); format( g_aString, sizeof ( g_aString ), ">> IP: %s", pIP ); SendClientMessage( playerid, COLOR_YELLOW, g_aString ); format( g_aString, sizeof ( g_aString ), "If you think it was wrongfully, take a screenshot and complain at our forum. "); SendClientMessage( playerid, COLOR_ORANGE, g_aString ); SendClientMessage( playerid, COLOR_ORANGE, "Our forum can be found at: ......"); Kick ( P_ID ); return 1; }
×
×
  • 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.