Jump to content

Raphy

Membru
  • Posts

    104
  • Joined

  • Last visited

    Never

Everything posted by Raphy

  1. N-ai inteles inca? Prima data cand am luat sistemul, am pus Gangs in scriptfiles. Daca acuma se salvau in acel folder, nu mai deschideam acest subiect pentru ajutor.
  2. Pai nu trebuia sa fac folderul "Gangs" in scriptfiles? Si oricum, din cate am observat acea functie este doar pentru a incarca fisierele, nu pentru a le salva.
  3. Salut. Am o problema la gang system, si nu stiu cum s-o rezolv. Am incercat si singur urmand niste tutoriale de pe sa-mp wiki sau de pe sa-mp.com, dar degeaba. Problema este ca gangurile nu se salveaza. Am observat ca are o functie in care incarca doar fiserele, nu le si salveaza. Autorul acestui system a spus ca problema poate fi rezolvata de la acea functie. Functia: [pawn]public LoadData(playerid) { for(new count = 20;count<MAX_GANGS;count++) { new Load[256]; format(fileZ, sizeof(fileZ),"Gangs/GANG_%d.ini",count); if(dini_Exists(fileZ)) { Load = dini_Get(fileZ,"Name"); strmid(gangNames[playerid],Load,0,256,256); format(fileZ, sizeof(fileZ),"Gang : ID = %d ",gangNames[playerid]); printf("%s", fileZ); } } }[/pawn] Va rog frumos sa-mi explicati cum sa fac. Multumesc anticipat.
  4. Raphy

    Chat problem

    Bine credeam ca ma veti ajuta... dar multumesc macar pentru sfat
  5. Raphy

    Chat problem

    Am schimbat la el tot... si sistemul de admin lam schimbat dar nu stiu dc arata asa
  6. Nu stiu cum sa va explic ca sa intelegeti asa ca va arat imaginea: Sper ca ma puteti ajuta..
  7. Raphy

    Warnings

    Multumesc pentru ajutor
  8. Scuze m-am grabit si am scris #define ))))
  9. Nu este definita functia. Pune [pawn]new ispassenger[/pawn] EDIT: M-am grabit si am pus din gresela #define scuze )
  10. Raphy

    Warnings

    Da am pus in loc de strcat format si imi da erorile: D:\Server\gamemodes\Shadow.pwn(7373) : error 035: argument type mismatch (argument 2) D:\Server\gamemodes\Shadow.pwn(7394) : error 035: argument type mismatch (argument 2) D:\Server\gamemodes\Shadow.pwn(7416) : error 035: argument type mismatch (argument 2) D:\Server\gamemodes\Shadow.pwn(7432) : error 035: argument type mismatch (argument 2) D:\Server\gamemodes\Shadow.pwn(8351) : error 035: argument type mismatch (argument 2) D:\Server\gamemodes\Shadow.pwn(8386) : error 035: argument type mismatch (argument 2) Liniile sunt acelasi deci nu le mai postez inca odata.
  11. Raphy

    Warnings

    Am niste warning-uri in GM si nu stiu cum sa le rezolv: D:\Server\gamemodes\Shadow.pwn(7366) : warning 202: number of arguments does not match definition D:\Server\gamemodes\Shadow.pwn(7387) : warning 202: number of arguments does not match definition D:\Server\gamemodes\Shadow.pwn(7409) : warning 202: number of arguments does not match definition D:\Server\gamemodes\Shadow.pwn(7425) : warning 202: number of arguments does not match definition D:\Server\gamemodes\Shadow.pwn(8344) : warning 202: number of arguments does not match definition D:\Server\gamemodes\Shadow.pwn(8379) : warning 202: number of arguments does not match definition Linia 7366:[pawn] strcat(BigString, "{FFFFFF}Multumim %s ca ati citit detaliile de mai sus.\n", 1900, name );[/pawn] Linia 7387:[pawn] strcat(BigString, "{FFFFFF}Multumim %s ca ati citit detaliile de mai sus.\n", 1900, name );[/pawn] Linia 7409:[pawn] strcat(BigString, "{FFFFFF}Multumim %s ca ati citit detaliile de mai sus.\n", 1900, name );[/pawn] Linia 7425:[pawn] strcat(BigString, "{FFFFFF}Multumim %s ca ati citit detaliile de mai sus.\n", 1900, name );[/pawn] Linia 8344:[pawn] strcat(BigString15, "{00FF04}Multumesc {FFFFFF}%s {00FF04}pentru ca joci pe server!\n", 1900, name );[/pawn] Linia 8379:[pawn] strcat(BigString15, "{00FF04}Multumesc {FFFFFF}%s {00FF04}pentru ca joci pe server!\n", 1900, name );[/pawn]
  12. Ti-a reusit bine man tineo tot asa :)
  13. Raphy

    Ajutor FS-uri

    Pai maxim FS-uri poti baga doar 16. Poate ai bagat prea multe
  14. Am aceasta eroare si 2 warnings dar nu stiu cum sa le rezolv: F:\SA-MP Server\gamemodes\bare.pwn(19008) : error 001: expected token: "#endif", but found "-end of file-" F:\SA-MP Server\gamemodes\bare.pwn(19008) : warning 203: symbol is never used: "BubbleColors" F:\SA-MP Server\gamemodes\bare.pwn(19008) : warning 203: symbol is never used: "GetVehicleModelIDFromName" Linia 19008 nu este... Ma puteti ajuta va rog? Multumesc
  15. Am facut asa cum ai spus tu. EDIT: Am rezolvat problema, puteti inchide topicul
  16. Am o eroare la comanda stats si nu stiu sa o rezolv F:\SA-MP Server\gamemodes\bare.pwn(6001) : error 017: undefined symbol "h" Linia 6001:[pawn]format(str5, sizeof(str4), "{F81414}*{00FF19}Player Time: "W"hours"V"["L"%d"V"] "W"minutes"V"["L"%d"V"] "W"seconds"V"["L"%d"V"]", h, m, s);[/pawn] Va rog frumos sa ma ajutati, mutlumesc.
  17. Am adaugat o comanda in GM si imi da niste erori: F:\SA-MP Server\gamemodes\bare.pwn(3859) : error 017: undefined symbol "Roman" F:\SA-MP Server\gamemodes\bare.pwn(3859) : warning 215: expression has no effect F:\SA-MP Server\gamemodes\bare.pwn(3859) : error 001: expected token: ";", but found "]" F:\SA-MP Server\gamemodes\bare.pwn(3859) : error 029: invalid expression, assumed zero F:\SA-MP Server\gamemodes\bare.pwn(3859) : fatal error 107: too many error messages on one line Linia 3859: if(Roman[playerid] == 0) Comanda:CMD:ro(playerid,params[]) { if(Roman[playerid] == 0) { SendClientMessage(playerid, 0xFF9900AA,"{6EF83C}Ai setat limba {F81414}Romana."); Roman[playerid] = 1; } return 1; } Va rog frumos sa ma ajutati, multumesc.
  18. Am rezolvat multumesc Puteti da TC
  19. Am niste erori intr-un script am incercat sa le rezolv dar nu am reusit. Erorile sunt: F:\SA-MP Server\gamemodes\bare.pwn(1947) : error 017: undefined symbol "str" F:\SA-MP Server\gamemodes\bare.pwn(1947) : error 017: undefined symbol "str" F:\SA-MP Server\gamemodes\bare.pwn(1947) : error 036: empty statement F:\SA-MP Server\gamemodes\bare.pwn(1947) : fatal error 107: too many error messages on one line Scriptu: if(ServerInfo[ConnectMessages] == 1) { switch (reason) { case 0: format(str, sizeof(str), "{00CEFC}*** %s {FFFFFF}({FC0303}%d{FFFFFF}) {00FF19}a iesit de pe server {FFFFFF}({FC0303}Timeout{FFFFFF})", PlayerName, playerid); case 1: format(str, sizeof(str), "{00CEFC}*** %s {FFFFFF}({FC0303}%d{FFFFFF}) {00FF19}a iesit de pe server {FFFFFF}({FC0303}Singur{FFFFFF})", PlayerName, playerid); case 2: format(str, sizeof(str), "{00CEFC}*** %s {FFFFFF}({FC0303}%d{FFFFFF}) {00FF19}a iesit de pe server {FFFFFF}({FC0303}Kicked/Banned{FFFFFF})", PlayerName, playerid); } Va rog frumos sa ma ajutati multumesc.
  20. Frumos FS bravo 10/10 :)
  21. Raphy

    For errors

    Am o problema cu un script, imi da 4 erori si nu prea stiu sa le rezolv. Erorile sunt: F:\SA-MP Server\gamemodes\bare.pwn(1711) : error 017: undefined symbol "str" F:\SA-MP Server\gamemodes\bare.pwn(1711) : error 017: undefined symbol "str" F:\SA-MP Server\gamemodes\bare.pwn(1711) : error 029: invalid expression, assumed zero F:\SA-MP Server\gamemodes\bare.pwn(1711) : fatal error 107: too many error messages on one line Linia 1711: if (strlen(pAKA) < 3) format(str,sizeof(str),"{00CEFC}*** %s {FFFFFF}({FC0303}%d{FFFFFF}) {00FF19}a intrat pe server", PlayerName, playerid); Va rog frumos daca ma puteti ajuta. Multumesc
  22. Raphy

    Two errors

    Salut, am si eu 2 erori in sistemul de admin si nu stiu cum sa le rezolv. Erorile sunt: F:\SA-MP Server\gamemodes\bare.pwn(21245) : error 029: invalid expression, assumed zero F:\SA-MP Server\gamemodes\bare.pwn(21265) : error 033: array must be indexed (variable "pVipInfo") for(new i = 0; i < MAX_PLAYERS; i++ ) { if(IsPlayerConnected( i ) == 1 && pVipInfo[ i ][ Vip ] != 0 && pVipInfo[ i ][ DisableVipChat ] == 0 ) SendClientMessage( i, 0xFCAD3DFF, string ); } return 0 ; } if(PlayerInfo[ playerid ][ pVipInfo ] >= 1) { new messagetext[128]; format(messagetext, 128, "{0059FF}({FFA600}ID:%d{0059FF})"W"["B"VIP"W"]: %s", playerid, text); SendPlayerMessageToAll(playerid, messagetext); return 0; } Va rog frumos daca ma puteti ajuta Multumesc
×
×
  • 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.