Please Help me :(
#4

pawn Код:
public Inventorius(playerid)
{
    if(IsPlayerConnected(playerid))
    {
        if(gPlayerLogged[playerid] == 0)
        {
            SendClientMessage(playerid, COLOR_GREY, "  Privalote buti prisijunges ! ");
            return 1;
           
        }
        new gunname[100];
        GetWeaponName(PlayerInfo[playerid][pInvWeapon], gunname, sizeof(gunname));
        if(PlayerInfo[playerid][pInvWeapon] != 0 && PlayerInfo[playerid][pInvAmmo] != 0)
        {
            Inv = CreateMenu("Inventorius", 2, 200.0, 100.0, 150.0, 150.0);
            new string[128];
            format(string, sizeof(string), "+ ~r~Weapon: ~w~ %s, ~r~ Ammo: ~w~ %d", gunname, PlayerInfo[playerid][pInvAmmo]);
            AddMenuItem(Inv,0,string);
            AddMenuItem(Inv,0,string);
            AddMenuItem(Inv,0,string);
            AddMenuItem(Inv,0,string);
        }
        else
        {
            AddMenuItem(Inv,0,"~w~Empy");
           
        }
        SendClientMessage(playerid, COLOR_LIGHT_BLUE, "_______________________________");
        SendClientMessage(playerid, COLOR_WHITE, "[Help]: /takegun | /putgun");
    }
    return 1;
}
Reply


Messages In This Thread
Please Help me :( - by neonas6661 - 23.10.2009, 19:42
Re: Please Help me :( - by thuron - 23.10.2009, 19:50
Re: Please Help me :( - by neonas6661 - 23.10.2009, 20:12
Re: Please Help me :( - by MadeMan - 23.10.2009, 21:20
Re: Please Help me :( - by neonas6661 - 24.10.2009, 07:20

Forum Jump:


Users browsing this thread: 3 Guest(s)