Jump to content

PolloDate

Membru
  • Posts

    18
  • Joined

  • Last visited

Posts posted by PolloDate

  1. Salutare sa-mp Romania as avea si eu o rugaminte la voi daca se poate sa imi dati si mie numele sau un link de descarcare a unui gamemode care sa aiba urmatoarele:1. http://imgur.com/gWlow0K

    2. http://imgur.com/wK3hRNs

    3 . http://imgur.com/egmuiDi

    4. http://imgur.com/wXmSsbi 

    5 . http://imgur.com/WgGrPDj

    si  comenzile /createhouse si /createbussiness(ceva de genu).

    Multumesc!O seara buna!

    Si da stiu sigur ca exista!

  2. Salut!Degeaba ai dat edit fiindca nu se intelege...

    Iar in legatura cu

     local variable "hitid" shadows a variable at a preceding level

    Ai un new in partea de sus a modului tau?

    Daca nu pune si revin-o cu un raspuns.

    new hitid = 999;

    Daca pun ce mi-ai dat tu mai sus in loc de cele 5 erori normale imi mai da 21 in plus.....Si in edit am numerotat liniile sa iti dai seama care e linia...Am facut si un nou edit....

  3. Problema intalnita (descriere): Cand vreau sa copilez gm-ul imi da aceasta eroare!
    Ero(area / rile) / warning-(ul / urile): 

    C:\Users\Catalin\Downloads\Laimon RPG v0.1\pawno\include\streamer.inc(487) : warning 219: local variable "hitid" shadows a variable at a preceding level
    C:\Users\Catalin\Downloads\Laimon RPG v0.1\gamemodes\laimon.pwn(22311) : warning 202: number of arguments does not match definition
    C:\Users\Catalin\Downloads\Laimon RPG v0.1\gamemodes\laimon.pwn(22311) : warning 206: redundant test: constant expression is non-zero
    C:\Users\Catalin\Downloads\Laimon RPG v0.1\gamemodes\laimon.pwn(22314) : error 035: argument type mismatch (argument 3)
    C:\Users\Catalin\Downloads\Laimon RPG v0.1\gamemodes\laimon.pwn(22314) : warning 215: expression has no effect
    C:\Users\Catalin\Downloads\Laimon RPG v0.1\gamemodes\laimon.pwn(22314) : error 001: expected token: ";", but found ")"
    C:\Users\Catalin\Downloads\Laimon RPG v0.1\gamemodes\laimon.pwn(22314) : error 029: invalid expression, assumed zero
    C:\Users\Catalin\Downloads\Laimon RPG v0.1\gamemodes\laimon.pwn(22314) : fatal error 107: too many error messages on one line
    


    Liniile de cod / sursa / script-ul(obligatoriu): 

    22311  if(strlen(groupVariables[xf][gGroupName] >= 1) && strcmp(groupVariables[xf][gGroupName]), "None", true )
    22312 	    {
    22313	    	new stringy2[256];
    22314			mysql_format(handle, stringy2, 256 ,  "SELECT * FROM 'playeraccounts' WHERE  'playerGroup' = '%d'" xf );
    22315			new Cache: resultx = mysql_query (handle, stringy2);


    Imagini / Video (optional): - 
    Ati incercat sa rezolvati singur?: Am incercat sa modific eu pe acolo dar nu am reusit nimic....

    Multumesc!

  4. mS_DestroySelectionMenu(playerid);
    			CallLocalFunction("OnPlayerModelSelection", "dddd", playerid, 0, listid, -1);
    			PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
    			if(DSMenu[playerid] == 1) <-----
    Asta e linia!***********************8
    			{
    			
    		
    			
    				if(testVeh[playerid] != INVALID_VEHICLE_ID) {
    					DestroyVehicle(testVeh[playerid]);
    				}
    				TextDrawHideForPlayer(playerid, SRlogo[playerid]);
    				TextDrawHideForPlayer(playerid, ShowRoomBox[playerid]); 
    				TextDrawHideForPlayer(playerid, SRmodel[playerid]); 
    				TextDrawHideForPlayer(playerid, SRpret[playerid]); 
    				TextDrawHideForPlayer(playerid, SRstoc[playerid]); 
    				TextDrawHideForPlayer(playerid, SRbuy[playerid]); 
    				TextDrawHideForPlayer(playerid, SRexit[playerid]); 
    				TextDrawHideForPlayer(playerid, SRboxa[playerid]); 
    				TextDrawHideForPlayer(playerid, SRboxb[playerid]);

    Si e linie din include-ul: mselection.inc ala!!!!!!!!!

    Arata-mi linia 472 , daca e FS, imi arati linia 472 din filterscript, daca e din gm, o dai pe cea din gm .

    Ti-am lasat mai sus 

  5. Problema intalnita (descriere): Eroare copilare
    Ero(area / rile) / warning-(ul / urile):

    C:\Users\Catalin\Downloads\gamemode\pawno\include\mselection.inc(472) : error 017: undefined symbol "DSMenu"
    C:\Users\Catalin\Downloads\gamemode\pawno\include\mselection.inc(472) : warning 215: expression has no effect
    C:\Users\Catalin\Downloads\gamemode\pawno\include\mselection.inc(472) : error 001: expected token: ";", but found "]"
    C:\Users\Catalin\Downloads\gamemode\pawno\include\mselection.inc(472) : error 029: invalid expression, assumed zero
    C:\Users\Catalin\Downloads\gamemode\pawno\include\mselection.inc(472) : fatal error 107: too many error messages on one line


    Liniile de cod / sursa / script-ul(obligatoriu):

    	mS_DestroySelectionMenu(playerid);
    			CallLocalFunction("OnPlayerModelSelection", "dddd", playerid, 0, listid, -1);
    			PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
    			if(DSMenu[playerid] == 1)
    			{
    			
    		
    			
    				if(testVeh[playerid] != INVALID_VEHICLE_ID) {
    					DestroyVehicle(testVeh[playerid]);
    				}
    				TextDrawHideForPlayer(playerid, SRlogo[playerid]);
    				TextDrawHideForPlayer(playerid, ShowRoomBox[playerid]); 
    				TextDrawHideForPlayer(playerid, SRmodel[playerid]); 
    				TextDrawHideForPlayer(playerid, SRpret[playerid]); 
    				TextDrawHideForPlayer(playerid, SRstoc[playerid]); 
    				TextDrawHideForPlayer(playerid, SRbuy[playerid]); 
    				TextDrawHideForPlayer(playerid, SRexit[playerid]); 
    				TextDrawHideForPlayer(playerid, SRboxa[playerid]); 
    				TextDrawHideForPlayer(playerid, SRboxb[playerid]);


    Imagini / Video (optional):
    Ati incercat sa rezolvati singur?: Da, dar nu am reusit!

  6. Incearca asta :

    CMD:factionss(playerid, params[])
    {
        new members,szMessage[155];
        format(szMessage, sizeof(szMessage),"Factions:");// Asta e linia cu problema...
        for(new xf = 0; xf < MAX_GROUPS; xf++)
        {
            if(strlen(groupVariables[xf][gGroupName]) >= 1 && strcmp(groupVariables[xf][gGroupName], "None", true))
            {
                new stringy2[256];
                mysql_format(handle, stringy2, 256, "SELECT * FROM `users` WHERE  `Member` = '%d'", xf);
                new Cache: resultx = mysql_query (handle, stringy2);
                members = cache_get_row_count();
                cache_delete(resultx);
                format(szMessage, sizeof(szMessage),"%s\n[%d/%d] %s ", szMessage, members, groupVariables[xf][gSlots], groupVariables[xf][gGroupName]);
            }
        }
        ShowPlayerDialog(playerid, 4500, DIALOG_STYLE_LIST,"Server: Factions", szMessage, "Select", "Cancel");
        SelFaction[playerid] = 0;
        return 1;
    }

     

    Man am rezolvat prima problema acum mi-a dat alta

    E:\GTA-MP\gamemodes\GTA-MP.pwn(24439) : error 028: invalid subscript (not an array or too many subscripts): "groupVariables"
    E:\GTA-MP\gamemodes\GTA-MP.pwn(24439) : warning 215: expression has no effect
    E:\GTA-MP\gamemodes\GTA-MP.pwn(24439) : error 001: expected token: ";", but found "]"
    E:\GTA-MP\gamemodes\GTA-MP.pwn(24439) : error 029: invalid expression, assumed zero
    E:\GTA-MP\gamemodes\GTA-MP.pwn(24439) : fatal error 107: too many error messages on one line

     

    CMD:factionss(playerid, params[])
    {
        new members,szMessage[155];
        format(szMessage, sizeof(szMessage),"Factions:");// Asta e linia cu problema...
        for(new xf = 0; xf < MAX_GROUPS; xf++)
        {
            if(strlen(groupVariables[xf][gGroupName]) >= 1 && strcmp(groupVariables[xf][gGroupName], "None", true))Aici e problema!!!!!!!!!!!!!!!!
            {
                new stringy2[256];
                mysql_format(handle, stringy2, 256, "SELECT * FROM `users` WHERE  `Member` = '%d'", xf);
                new Cache: resultx = mysql_query (handle, stringy2);
                members = cache_get_row_count();
                cache_delete(resultx);
                format(szMessage, sizeof(szMessage),"%s\n[%d/%d] %s ", szMessage, members, groupVariables[xf][gSlots], groupVariables[xf][gGroupName]);
            }
        }
        ShowPlayerDialog(playerid, 4500, DIALOG_STYLE_LIST,"Server: Factions", szMessage, "Select", "Cancel");
        SelFaction[playerid] = 0;
        return 1;
    }

     

  7. ce? 300 ? the fuck

    new szMessage[100]; , mai mult nu pune, pui degeaba. 

    Acum a intervenit alta eroare....

    E:\GTA-MP\gamemodes\GTA-MP.pwn(24439) : error 028: invalid subscript (not an array or too many subscripts): "groupVariables"
    E:\GTA-MP\gamemodes\GTA-MP.pwn(24439) : warning 215: expression has no effect
    E:\GTA-MP\gamemodes\GTA-MP.pwn(24439) : error 001: expected token: ";", but found "]"
    E:\GTA-MP\gamemodes\GTA-MP.pwn(24439) : error 029: invalid expression, assumed zero
    E:\GTA-MP\gamemodes\GTA-MP.pwn(24439) : fatal error 107: too many error messages on one line

    Ce pot sa schimb la linia aia sa nu imi mai dea eroare(e vorba de a 7-a linie din script-ul de mai sus)

  8. Problema intalnita (descriere):Salut, am incercat sa copilez si eu gm dupa ce am introdus codul comenzii de mai jos da imi da o eroare.
    Ero(area / rile) / warning-(ul / urile):

    E:\GTA-MP\gamemodes\GTA-MP.pwn(24433) : error 017: undefined symbol "szMessage"
    E:\GTA-MP\gamemodes\GTA-MP.pwn(24433) : error 017: undefined symbol "szMessage"
    E:\GTA-MP\gamemodes\GTA-MP.pwn(24433) : error 029: invalid expression, assumed zero
    E:\GTA-MP\gamemodes\GTA-MP.pwn(24433) : fatal error 107: too many error messages on one line


    Liniile de cod / sursa / script-ul(obligatoriu):

    CMD:factionss(playerid, params[])
    {
        new members;
        format(szMessage, sizeof(szMessage),"Factions:"); Asta e linia cu problema...
        for(new xf = 0; xf < MAX_GROUPS; xf++)
        {
            if(strlen(groupVariables[xf][gGroupName]) >= 1 && strcmp(groupVariables[xf][gGroupName], "None", true))
            {
                new stringy2[256];
                mysql_format(handle, stringy2, 256, "SELECT * FROM `users` WHERE  `Member` = '%d'", xf);
                new Cache: resultx = mysql_query (handle, stringy2);
                members = cache_get_row_count();
                cache_delete(resultx);
                format(szMessage, sizeof(szMessage),"%s\n[%d/%d] %s ", szMessage, members, groupVariables[xf][gSlots], groupVariables[xf][gGroupName]);
            }
        }
        ShowPlayerDialog(playerid, 4500, DIALOG_STYLE_LIST,"Server: Factions", szMessage, "Select", "Cancel");
        SelFaction[playerid] = 0;
        return 1;
    }
    

    Imagini / Video (optional): http://imgur.com/OR8sQWR
    Ati incercat sa rezolvati singur?: Da am incercat sa rezolv, dar sunt incepator si am cautat peste tot o asemenea comanda.Daca mai puteti sa imi spuneti si ce date sa mai pun la mysql_format daca tot am facut acest topic(poza cu baza de date e putin mai sus si cu categoriile pe care le am in aceasta)Daca se poate vreau rezolvare pentru ambele probleme si cea de sus dar si pentru cea de jos.Multumesc!

  9.  Salut.Vreau si eu sa ma ajutati cu o problema deoarece sunt incepator in crearea de comenzi.Deci eu vreau atunci cand dau /factions sa imi arate asa http://postimg.org/image/q3rjmnmg3

    Dar nu stiu cum sa conectez urmatoarea comanda la fisierul ''factions'' din baza mea de date.

    CMD:factions(playerid, params[])
    {
        if(IsPlayerConnectedEx(playerid))
        {
            new titles[512];
    		new File: file = fopen("Altele/factions.cfg", io_read);
    		if(file)
    		{
    	        new idx = 0;
    			while (idx < sizeof(FactionsInfo))
    			{
    			    fread(file, titles);
    			    idx ++;
    			    format(titles, sizeof(titles), "[%d/%d] %s", FactionsInfo[idx][fOnlineMembers], FactionsInfo[idx][fMembersmax], FactionsInfo[idx][fName]);
    			    //SendClientMessage(playerid, -1, titles);
    			    ShowPlayerDialog(playerid, factionsdialog, DIALOG_STYLE_LIST, "Factions", titles, "Select", "Close");
    			}
    		}
    	}
    	return 1;
    }

    Daca ma puteti ajuta raman indatorat :D

  10. In loc de ip-ul tau baga localhost:7777 si vezi daca merge . Daca server-ul e tinut pe pc-ul tau bineinteles ca nu-ti merge bagand ip-ul tau . Incearca cu localhost sau ip-ul local, 192.168.x.x .

    Man deci am facut si portforward am si facut exceptie la portul 7777 in  firewall si nu merge sa se conecteze nimeni, eu vreau sa le dau si la prieteni serverul nu vreau pe local host ca daca bag localhost merge doar pentru mine.....

×
×
  • 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.