Jump to content

Anexy

Membru
  • Posts

    55
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by Anexy

  1. 1 hour ago, StrikerM said:

    In loc de pRespectPoints(asta find variabila ce determina respectul actual al jucatorului, pui sa fie ce-l necesar pentru level pe care jucatorul il are).

    nu inteleg

        new
            szStr[64],
            exp = PlayerInfo[playerid][pLevel]*levelexp,
            Float: textdrawProcent = (267 + PlayerInfo[playerid][pExp] * 100 / exp);

        format(szStr,sizeof szStr,"_LEVEL %d (%d%s)", PlayerInfo[playerid][pLevel], (PlayerInfo[playerid][pExp] * 100 / exp),"%");
        PlayerTextDrawSetString(playerid, LevelTD[playerid][0], szStr);
        PlayerTextDrawShow(playerid, LevelTD[playerid][0]), PlayerTextDrawShow(playerid, LevelTD[playerid][1]);

        PlayerTextDrawTextSize(playerid, LevelTD[playerid][2], textdrawProcent, 0.000000);
        PlayerTextDrawHide(playerid, LevelTD[playerid][2]), PlayerTextDrawShow(playerid, LevelTD[playerid][2]);
        return 1; 

    asta-i codul de la progress bar

  2. nu inteleg

        new
            szStr[64],
            exp = PlayerInfo[playerid][pLevel]*levelexp,
            Float: textdrawProcent = (267 + PlayerInfo[playerid][pExp] * 100 / exp);

        format(szStr,sizeof szStr,"_LEVEL %d (%d%s)", PlayerInfo[playerid][pLevel], (PlayerInfo[playerid][pExp] * 100 / exp),"%");
        PlayerTextDrawSetString(playerid, LevelTD[playerid][0], szStr);
        PlayerTextDrawShow(playerid, LevelTD[playerid][0]), PlayerTextDrawShow(playerid, LevelTD[playerid][1]);

        PlayerTextDrawTextSize(playerid, LevelTD[playerid][2], textdrawProcent, 0.000000);
        PlayerTextDrawHide(playerid, LevelTD[playerid][2]), PlayerTextDrawShow(playerid, LevelTD[playerid][2]);
        return 1; 

    asta-i codul de la progress bar

  3. 33 minutes ago, StrikerM said:
    
    function IsABike(vehicleid) 
    {
    	switch(GetVehicleModel(vehicleid)) 
    	{
    		case 448, 461, 462, 463, 468, 471, 481, 509, 510, 521, 522, 523, 568, 571, 581, 586: return 1;
    	}
    	return 0;
    }

    Uite ceva simplu, numerele reprezinta id-ul modelului de masina, bicla, barca etc..., astea sunt bicicletele. Copiezi si faci acelasi lucru pentru avioane si orice alt tip ce doresti sa restrictionezi fuel, idea e ca depinde si ce vrei sa faci, sa nu apara fuel textdraw in dreapta sau sa nu scada benzina.

    vreau sa fac sa nu apara acolo si nici sa nu se se consume adica sa fie fara benzina

  4. 22 hours ago, jumainkain said:

    Este cumva, inceput de la varianta lu HPQ b-h ? :)

    Daca este, iti mai dau eu de rezolvat cate ceva daca ai nevoie, am lucrat destul de mult pe gm asta, si am gasit destul de multe probleme :)

    imi poti raspunde in privat cu toate bugurile te rog.

  5. C:\Users\anexy\OneDrive\Desktop\Execute Compiler\include\YSI\y_debug.inc(282) : warning 219: local variable "n" shadows a variable at a preceding level
    C:\Users\anexy\OneDrive\Desktop\Execute Compiler\include\mSelection.inc(207) : warning 219: local variable "x" shadows a variable at a preceding level
    C:\Users\anexy\OneDrive\Desktop\Execute Compiler\include\mSelection.inc(222) : warning 219: local variable "x" shadows a variable at a preceding level
    C:\Users\anexy\OneDrive\Desktop\Execute Compiler\include\mSelection.inc(426) : warning 219: local variable "x" shadows a variable at a preceding level
    C:\Users\anexy\OneDrive\Desktop\Execute Compiler\include\mSelection.inc(556) : warning 219: local variable "x" shadows a variable at a preceding level
    C:\Users\anexy\OneDrive\Desktop\Execute Compiler\include\fly.inc(45) : warning 219: local variable "x" shadows a variable at a preceding level
    C:\Users\anexy\OneDrive\Desktop\Execute Compiler\include\fly.inc(45) : warning 219: local variable "y" shadows a variable at a preceding level
    C:\Users\anexy\OneDrive\Desktop\Execute Compiler\include\fly.inc(45) : warning 219: local variable "z" shadows a variable at a preceding level
    C:\Users\anexy\OneDrive\Desktop\Execute Compiler\include\fly.inc(60) : warning 219: local variable "x" shadows a variable at a preceding level
    C:\Users\anexy\OneDrive\Desktop\Execute Compiler\include\fly.inc(60) : warning 219: local variable "y" shadows a variable at a preceding level
    C:\Users\anexy\OneDrive\Desktop\Execute Compiler\include\fly.inc(60) : warning 219: local variable "z" shadows a variable at a preceding level
    C:\Users\anexy\OneDrive\Desktop\Execute Compiler\include\fly.inc(108) : warning 219: local variable "x" shadows a variable at a preceding level
    C:\Users\anexy\OneDrive\Desktop\Execute Compiler\include\fly.inc(108) : warning 219: local variable "y" shadows a variable at a preceding level
    C:\Users\anexy\OneDrive\Desktop\Execute Compiler\include\fly.inc(108) : warning 219: local variable "z" shadows a variable at a preceding level
    C:\Users\anexy\OneDrive\Desktop\Execute Compiler\include\md5.inc(316) : warning 219: local variable "index" shadows a variable at a preceding level
    C:\Users\anexy\OneDrive\Desktop\Execute Compiler\include\md5.inc(396) : warning 219: local variable "a" shadows a variable at a preceding level
    C:\Users\anexy\OneDrive\Desktop\Execute Compiler\include\YSI\y_amx.inc(908) : warning 219: local variable "idx" shadows a variable at a preceding level
    C:\Users\anexy\OneDrive\Desktop\Execute Compiler\include\YSI\y_hooks/impl.inc(232) : warning 219: local variable "idx" shadows a variable at a preceding level
    C:\Users\anexy\OneDrive\Desktop\Execute Compiler\include\YSI\y_timers/impl.inc(94) : warning 219: local variable "idx" shadows a variable at a preceding level
    C:\Users\anexy\OneDrive\Desktop\Gamemode Learn2Play\gamemodes\wa-rpg.pwn(1721) : warning 219: local variable "x" shadows a variable at a preceding level
    C:\Users\anexy\OneDrive\Desktop\Execute Compiler\include\systems.inc(419) : error 017: undefined symbol "GetPlayerCash"
    C:\Users\anexy\OneDrive\Desktop\Execute Compiler\include\systems.inc(936) : warning 219: local variable "index" shadows a variable at a preceding level
    C:\Users\anexy\OneDrive\Desktop\Execute Compiler\include\systems.inc(3821) : error 017: undefined symbol "CreateVehicleEx"
    C:\Users\anexy\OneDrive\Desktop\Execute Compiler\include\systems.inc(3822) : error 017: undefined symbol "CreateVehicleEx"
    C:\Users\anexy\OneDrive\Desktop\Execute Compiler\include\systems.inc(3823) : error 017: undefined symbol "CreateVehicleEx"
    C:\Users\anexy\OneDrive\Desktop\Execute Compiler\include\systems.inc(3824) : error 017: undefined symbol "CreateVehicleEx"
    C:\Users\anexy\OneDrive\Desktop\Execute Compiler\include\systems.inc(3825) : error 017: undefined symbol "CreateVehicleEx"
    C:\Users\anexy\OneDrive\Desktop\Execute Compiler\include\systems.inc(3828) : error 017: undefined symbol "CreateVehicleEx"
    C:\Users\anexy\OneDrive\Desktop\Execute Compiler\include\systems.inc(3829) : error 017: undefined symbol "CreateVehicleEx"
    C:\Users\anexy\OneDrive\Desktop\Execute Compiler\include\systems.inc(3830) : error 017: undefined symbol "CreateVehicleEx"
    C:\Users\anexy\OneDrive\Desktop\Execute Compiler\include\systems.inc(3831) : error 017: undefined symbol "CreateVehicleEx"
    C:\Users\anexy\OneDrive\Desktop\Execute Compiler\include\systems.inc(3832) : error 017: undefined symbol "CreateVehicleEx"
    C:\Users\anexy\OneDrive\Desktop\Execute Compiler\include\systems.inc(3835) : error 017: undefined symbol "CreateVehicleEx"
    C:\Users\anexy\OneDrive\Desktop\Execute Compiler\include\systems.inc(3836) : error 017: undefined symbol "CreateVehicleEx"
    C:\Users\anexy\OneDrive\Desktop\Execute Compiler\include\systems.inc(3837) : error 017: undefined symbol "CreateVehicleEx"
    C:\Users\anexy\OneDrive\Desktop\Execute Compiler\include\systems.inc(3838) : error 017: undefined symbol "CreateVehicleEx"
    C:\Users\anexy\OneDrive\Desktop\Execute Compiler\include\systems.inc(3839) : error 017: undefined symbol "CreateVehicleEx"
    C:\Users\anexy\OneDrive\Desktop\Execute Compiler\include\systems.inc(3840) : error 017: undefined symbol "CreateVehicleEx"
    C:\Users\anexy\OneDrive\Desktop\Execute Compiler\include\systems.inc(3841) : error 017: undefined symbol "CreateVehicleEx"
    C:\Users\anexy\OneDrive\Desktop\Execute Compiler\include\systems.inc(3842) : error 017: undefined symbol "CreateVehicleEx"
    C:\Users\anexy\OneDrive\Desktop\Execute Compiler\include\systems.inc(3843) : error 017: undefined symbol "CreateVehicleEx"
    C:\Users\anexy\OneDrive\Desktop\Execute Compiler\include\systems.inc(3844) : error 017: undefined symbol "CreateVehicleEx"
    C:\Users\anexy\OneDrive\Desktop\Execute Compiler\include\systems.inc(3845) : error 017: undefined symbol "CreateVehicleEx"
    C:\Users\anexy\OneDrive\Desktop\Execute Compiler\include\systems.inc(3846) : error 017: undefined symbol "CreateVehicleEx"
    C:\Users\anexy\OneDrive\Desktop\Execute Compiler\include\systems.inc(3847) : error 017: undefined symbol "CreateVehicleEx"
    C:\Users\anexy\OneDrive\Desktop\Execute Compiler\include\systems.inc(3848) : error 017: undefined symbol "CreateVehicleEx"
    C:\Users\anexy\OneDrive\Desktop\Execute Compiler\include\systems.inc(3849) : error 017: undefined symbol "CreateVehicleEx"

    Compilation aborted.Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


    26 Errors.
    [Finished in 36.3s]

    Ma ajuta cineva?

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