Jump to content

EterNo

Membru
  • Posts

    6
  • Joined

  • Last visited

    Never

Posts posted by EterNo

  1. Am niste warning-uri care nu le pot rezolva deloc sper sa ma puteti ajuta voi .

    C:\Documents and Settings\Administrator\Desktop\The Godfather!!\gamemodes\gf.pwn(3966) : warning 202: number of arguments does not match definition
    C:\Documents and Settings\Administrator\Desktop\The Godfather!!\gamemodes\gf.pwn(4893) : warning 212: possibly unintended bitwise operation
    C:\Documents and Settings\Administrator\Desktop\The Godfather!!\gamemodes\gf.pwn(4893) : warning 213: tag mismatch
    C:\Documents and Settings\Administrator\Desktop\The Godfather!!\gamemodes\gf.pwn(6794) : warning 213: tag mismatch
    C:\Documents and Settings\Administrator\Desktop\The Godfather!!\gamemodes\gf.pwn(10620) : warning 213: tag mismatch
    C:\Documents and Settings\Administrator\Desktop\The Godfather!!\gamemodes\gf.pwn(10691) : warning 213: tag mismatch
    Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase
    
    Header size:          11408 bytes
    Code size:          1663220 bytes
    Data size:          6755624 bytes
    Stack/heap size:      16384 bytes; estimated max. usage=4137 cells (16548 bytes)
    Total requirements: 8446636 bytes
    
    6 Warnings.
    

    Primu warning :

      [pawn]  WantedPoints[playerid]+=20; SetPlayerCriminal(playerid,255, "Jefuieste banca orasului");

          GameTextForPlayer(playerid, "~r~Ai jefuit banca", 2500, 1);

          DisablePlayerCheckpoint(playerid);

          SetPlayerWantedLevel(playerid, 10);

          WantedPoints[playerid]+= 21;

              CP[playerid] = 51;

              SetPlayerCheckpoint(playerid, 2125.1970,-1259.6982,24.1090); // ASTA ESTE LINIA

              SendClientMessage(playerid, COLOR_YELLOW, "Acum dute la depozit pentru a lua bani.");

              BizzInfo[4][bProducts] -= 25;

              new pName[24];

              new str[128];

              GetPlayerName(playerid, pName, 24);

              format(str, 128,"Banca a fost jefuita de %s, toate unitatile in alerta !", pName);

              SendClientMessageToAll(COLOR_RED, str);[/pawn]

    Warning 2 : [pawn]     }

    }

            if(newcar==180|newcar==181||newcar==182||newcar==183||newcar==184||newcar==185||newcar==186) // asta e linia ( 2 warning-uri pe aceasta linie )

        {

                if(PlayerInfo[playerid][pMember] == 6||PlayerInfo[playerid][pLeader] == 6) { }

        else

    {

            SendClientMessage(playerid,0x806C28FF,"  You are not a member of The Triads !");[/pawn]

    Warining 4 :

    [pawn]        new warns = PlayerInfo[targetid][pWarns];

            new pboxmats = PlayerInfo[targetid][pBoxMats]; // asta e linia

            new pboxdrugs = PlayerInfo[targetid][pBoxDrugs];[/pawn]

    Warning 5 :

    [pawn]                  PlayerInfo[playerid][pMats] -= matss;

                      PlayerInfo[playerid][pBoxMats] += matss; // asta e linia.[/pawn]

    Warning 6 :

    [pawn]     SendClientMessage(playerid, COLOR_GRAD2, "USAGE: Materiale [amount]");

        format(string, sizeof(string), "Ai %d materiale in depozit.",  // asta e linia PlayerInfo[playerid][pBoxMats]);[/pawn]

  2. Pentru ca odata ce un text este aratat, cel care este aratat pe moment v-a disparea si v-a face loc celuilalt.

    Asa ca , pentru o linie noua folosesti ~n~ in cod.

    Exemplu:

    GameTextForPlayer( playerid, "GameText test.~n~Linia2~n~Linia3~n~Linia4~n~Linia5.",  3000, 5 );

    Vezi ca ai gresit la "GameTextForPlayer( playerid" ai pus spatiu , Dai T/C am inteles , ms .

    P.S : Cei care luati errori de genul "undefined symbol playerid" puneti "i" la "playerid"

  3. Am vazut pe un server un GameTextForPlayer asemanator cu acesta :

    samp145w.png

    Am incercat sa fac si eu cu

    		else if (PlayerToPoint(3, i,691.5751,-1275.8918,13.5607))
    			{
    			    GameTextForPlayer(i, "~g~VLA TRAINING PLACE, 5", 3000, 5);
    			    GameTextForPlayer(i, "~y~USE /ENTER", 3000, 5);
    			    GameTextForPlayer(i, "USE /EXIT TO EXIT", 3000, 5);
    			}

    Nu functioneaza imi arata doar ultimul GameText ..:-w

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