Locker problem rep
#4

Try with this:
PHP код:
CMD:testlocker(playeridparams[])
{
    new 
string[256], iFac arrFaction[playerid][g_iFactionID];
    if(
arrFaction[playerid][p_iMember] > 0)
    {
        if(
arrFaction[iFac][g_iLockerGuns][1] == 0)
        {
            
SendClientMessage(playeridCOLOR_WHITE"Your faction lockers have no weapons in them!");
        }
        if(
arrFaction[iFac][g_iLockerGuns][1] > 0)
        {
            new 
str[24];GetWeaponName(arrFaction[iFac][g_iLockerGuns][1], strsizeof(str));
            
format(stringsizeof(string), "%s - $%i"strarrFaction[iFac][g_iLockerCost][1]);
            
ShowPlayerDialog(playeridDIALOG_FACWEPSDIALOG_STYLE_LIST"Faction Locker"string"Select""Cancel");
        }
    }
    else 
SendClientMessage(playeridCOLOR_WHITE"You are not in a faction!");
    return 
1;

Reply


Messages In This Thread
Locker problem rep - by RLGaming - 14.10.2012, 20:37
Re: Locker problem rep - by JhnzRep - 15.10.2012, 00:05
Re: Locker problem rep - by RLGaming - 20.10.2012, 17:00
Re : Locker problem rep - by Varkoll_ - 20.10.2012, 18:29
Re: Locker problem rep - by RLGaming - 20.10.2012, 18:41
Re : Locker problem rep - by Varkoll_ - 20.10.2012, 19:03
Re: Locker problem rep - by RLGaming - 20.10.2012, 19:32
Re : Locker problem rep - by Varkoll_ - 20.10.2012, 19:50
Re: Locker problem rep - by RLGaming - 20.10.2012, 20:11

Forum Jump:


Users browsing this thread: 2 Guest(s)