Jump to content

LaZ

V.I.P
  • Posts

    531
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by LaZ

  1. LaZ

    problema compilare

    Mai bine nu. Da si nu. Poate ai asa, la sfarsitul scriptului. // Codul... return 1; } } Nu-i corect. Asa ii corect: // Codul.. return 1; } } Compara aceste coduri: if (strcmp(cmd, "/shout", true) == 0 ) { if(IsPlayerConnected(playerid)) { new str[256], pname[256]; GetPlayerName(playerid, pname, 256); format(str, 256, "%s %s", pname, cmdtext[4]); SendClientMessageToAll(pCol, str); return 1; } if(gPlayerLogged[playerid] == 0) { SendClientMessage(playerid, COLOR_GREY, "Trebuie sa fi logat sau registrat pe server. Foloseste /help pentru mai multe informatii"); return 1; } } Si: if (strcmp(cmd, "/shout", true) == 0 ) { if(IsPlayerConnected(playerid)) { if(gPlayerLogged[playerid] == 0) { SendClientMessage(playerid, COLOR_GREY, "Trebuie sa fi logat sau registrat pe server. Foloseste /help pentru mai multe informatii."); return 1; } new str[256], pname[256]; GetPlayerName(playerid, pname, 256); format(str, 256, "%s %s", pname, cmdtext[4]); SendClientMessageToAll(pCol, str); return 1; } } Sunt corecte amandoua. Primul iti va da 'loose intendation'. Daca ai prea multe 'warning-uri' la compilare de genu` 'loose ...' si ai The Godfather, atunci scrie la inceputul scriptului: #pragma tabsize 0. Nu-i prea recomandat.
  2. Data viitoare, creeaza-ti singur scripturile.
  3. http://forum.sa-mp.com/index.php?topic=61993.0 Nu chiar 2 ore.
  4. Pentru 1) uitate in topicul 'Probleme The Godfather'.
  5. LaZ

    Granita/Masini

    De ce ? Tu ai inceput subiectul ?
  6. LaZ

    problema interioare

    Poate ai pus coordonatele gresit.
  7. LaZ

    2 Warnings

    Comanda ta ii 'finish. Incearca '/finish'.
  8. Ce sa traducem ? Asa se foloseste. Doamne... Ce filterscript ? Nu ai nevoie de comenzi sau de filterscripts. Uitate atent la mesajul lui Farse.
  9. Foloseste AddPlayerClass. Cauta pe forum, gasesti mai multe informatii.
  10. Da in PAWN.. Nu-i complet codul.
  11. AddStaticPickup(model,tipul,Float:X,Float:Y,Float:Z); http://wiki.sa-mp.com/wiki/PickupGuide
  12. Si cum, prin CreateStaticObject sau AddPlayerClass ?
  13. LaZ

    [FS]AutoMessage

    Ii normal daca scrie asa.
  14. LaZ

    [GM] Role-Play

    Da. Topic inchis.
  15. Cu xStreamer poti adauga peste 4 milioane de obiecte.
  16. LaZ

    Curse

    Ba da... Dublu click pe fisier, F5 si ai .amx... Ii problema cand .pwn nu-i inclus.
  17. Downlodeaza fisierele (.inc), dudb, dutils de pe www.DracoBlue.net
  18. LaZ

    Curse

    Fisierul .amx nu-i extrem de important.
  19. LaZ

    Curse

    Niciunu nu si-a dat seama ? Cum sa folosesti OnGameModeInit() intr-un filterscript ?? [attachment deleted by admin]
  20. LaZ

    cum rezolv erorile

    Sterge liniile: SendClientMessageToAll(COLOR_Red, "%d sa sinucis (folosind /kill) !!!!!"); SendClientMessageToAll(COLOR_Red, "%d a folosit comanda /good pentru a avea viata infinita si armura"); SendClientMessageToAll(COLOR_Red, "%d a iesit de pe server"); // uitate pe wiki.sa-mp.com SendPlayerMessageTooAll (COLOR_Red, "%d a intrat pe server"); // uitate pe wiki.sa-mp.com
  21. http://forum.sa-mp.com/index.php?topic=40314.0 // case http://forum.sa-mp.com/index.php?topic=49003.0 // afaceri \ proprietati
  22. Ban: public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/ban", cmdtext, true, 10) == 0) { Ban(playerid); return 1; } return 0; } Kick: public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/kick", cmdtext, true, 10) == 0) { Kick(playerid); return 1; } return 0; }
  23. LaZ

    Problema cu vama.

    MTA Map Editor ?
  24. Scrie codul intr-un fisier .pwn (PAWN) Si foloseste [ code ] [ /code ] ca sa postezi coduri.
  25. Postezi codul ? Sa vedem unde ii gresit.
×
×
  • 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.