Locker problem rep
#2

PHP код:
CMD:editweapons(playerid, params[])
{
    new 
string[128], wepslot, weaponID, iFac = arrFaction[playerid][g_iFactionID];
    if(
PlayerInfo[playerid][pAdmin] >= 5)
    {
        if(
sscanf(params, "id", wepslot, weaponID)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /editweapons [wepslot] [wepid]");
        
arrFaction[iFac][g_iLockerGuns][wepslot] = weaponID;
        
format(string, sizeof(string), "You have changed %s's weapon slot 1 to weapon ID %d.", arrFaction[iFac][g_szFactionName], weaponID);
        
SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
    }
    return 
1;
} 
I have no idea what you said, but I'm guessing this is what you are getting at.
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: 1 Guest(s)