Jump to content

xxSPEEDYxx

Membru
  • Posts

    1,614
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by xxSPEEDYxx

  1. Si mai este, daca vi se ofera ca mapper pe server, sa nu il luati, sau daca il luati, sa aveti macar systemul ala de ban la 30 de secunde ) Iti multumesc foarte frumos pentru harta, chiar imi va fi de foarte mare folos pentru noul minigame :p
  2. Haha, l-ai gasit pe 2shared.com cred ) Btw, macar sa pastrezi creditele daca vei face ceva :p
  3. Good Relase! 5/5~! PS. - 1.700 post :D
  4. xxSPEEDYxx

    Combinatie

    De ce iti postezi toate creatile?
  5. Am invatat o metoda mai buna de a reduce din lag si metoda merge si pe host Doar puneti dupa #include <a_samp>: #undef MAX_PLAYERS #define MAX_PLAYERS 100 //Nr de playeri modificati aici dupa cate sloturi aveti Si reduce mult din lag ;)
  6. Uite: if ( strcmp( cmd, "/givescore", true ) == 0 ) { if ( AccInfo[ playerid ][ LoggedIn ] == 0 ) return SendClientMessage( playerid, COLOR_ULTRARED, "ERROR: Trebuie sa fi logat in contu tau pentru a folosi comanda asta!" ); tmp = strtok( cmdtext, idx ); if ( !strlen( tmp ) ) return SendClientMessage( playerid, COLOR_WHITE, "Foloseste: /givescore [playerid] [score]" ); giveplayerid = strval( tmp ); tmp = strtok( cmdtext, idx ); if ( !strlen( tmp ) ) return SendClientMessage(playerid, COLOR_WHITE, "Foloseste: /givecash [playerid] [score]"); new scores; scores = strval( tmp ); if (!IsPlayerConnected(giveplayerid)) return SendClientMessage( playerid, COLOR_ULTRARED, "ERROR: Player not connected!" ); GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); new playerscore; playerscore = GetPlayerScore(playerid); if (scores > 0 && playerscore >= scores) { SetPlayerScore(playerid, playerscore - scores); SetPlayerScore(giveplayerid, GetPlayerScore( giveplayerid ) + scores); format(string, sizeof(string), "I-ai trimis lui %s(player: %d), %d score.", giveplayer,giveplayerid, scores); SendClientMessage(playerid, COLOR_YELLOW, string); format(string, sizeof(string), "Ai primit %d score de la %s(player: %d).", scores, sendername, playerid); SendClientMessage(giveplayerid, COLOR_YELLOW, string); printf("%s(playerid:%d) has transfered %d to %s(playerid:%d)",sendername, playerid, scores, giveplayer, giveplayerid); } else SendClientMessage(playerid, COLOR_YELLOW, "Score invalid."); return 1; } Si ce ii greu? Nu ai LoggedIn la AccInfo in LuxAdmin, unde sunt si celalte, cum ar fi Level, pVip, etc ... EDIT: Daca ar fi pe sscanf (comanda), ar fi mult mai usor si mai rapid de cat cu strtok...
  7. Pfoai ... ia zi-mi si mie, ii greu sa cauti? sau totul vreti mura'n'gura? http://forum.sa-mp.com/showthread.php?t=320649&highlight=FloodControl
  8. Go to the hell :-j http://wiki.sa-mp.com/wiki/SetVehicleNumberPlate
  9. Ooo foarte tare descrierea m-ai convins si sa-l downloadez :-bd (sunt ironic 8-|) Epic fail!
  10. Pun pariu ca vroiam sa te injur =) Your welcome! Normal ca merge perfect, doar eu l-am creat ) Thx all!
  11. Destul de dragut + original, nu am mai vazut asa ceva nici pe sa-mp.com! 5/5!
  12. Probleme Godfather! reported!
  13. Reported! Nu stiu cum pot fi unii asa tampiti incat sa posteze gresit :-j, nu stiti sa cititi sau ce?
  14. Foarte frumos, si foarte util! Multi ma intreba pe mess cum se foloseste editorul acesta, si nu am timp sa le explic, acum voi da doar un link si well done ! 5/5!
  15. Mi-a furat vorbele din gura )
  16. Baga asta: #define SetPlayerHoldingObject(%1,%2,%3,%4,%5,%6,%7,%8,%9) SetPlayerAttachedObject(%1,MAX_PLAYER_ATTACHED_OBJECTS-1,%2,%3,%4,%5,%6,%7,%8,%9) #define StopPlayerHoldingObject(%1) RemovePlayerAttachedObject(%1,MAX_PLAYER_ATTACHED_OBJECTS-1) #define IsPlayerHoldingObject(%1) IsPlayerAttachedObjectSlotUsed(%1,MAX_PLAYER_ATTACHED_OBJECTS-1)
  17. El l-a facut Ieri ma intrebase daca nu il ajut la testari, si nu prea am avut timp Da, este tare bravo 10/10!
  18. Sper ca tu esti cel care a postat-o si pe sa-mp.com, nu? Very nice 5/5!
  19. www.wiki.sa-mp.com/wiki/strcmp Ceva de genu: new name[ MAX_PLAYER_NAME ]; GetPlayerName( playerid, name, MAX_PLAYER_NAME ); if ( strcmp( name, "xxSPEEDYxx", true ) == 0 ) { //Alte coduri, daca gaseste numele "xxSPEEDYxx" } else { //Daca nu gaseste numele ca fiind "xxSPEEDYxx"
  20. www.wiki.sa-mp.com/wiki/SetTimer www.wiki.sa-mp.com/wiki/SetTimerEx www.wiki.sa-mp.com/wiki/CallRemoteFunction
×
×
  • 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.