How do I sum up this script?
#2

PHP код:
// global
RemoveIdxFromArray(array[], idxsize sizeof array) {
    while(++
idx size) {
        array[
1] = array[i];
    }
    array[
size 1] = 0;

// You code
new
    
idx PlayerData[playerid][pSelectedSlot],
    
faction PlayerData[playerid][pFactionEdit]
;
RemoveIdxFromArray(FactionData[faction][factionAmmo], idx);
RemoveIdxFromArray(FactionData[faction][factionWeapons], idx);
SendServerMessage(playerid"You have removed the weapon in slot %d."idx 1); 
Reply


Messages In This Thread
How do I sum up this script? - by Opeal - 11.04.2016, 08:15
Re: How do I sum up this script? - by Nero_3D - 11.04.2016, 08:55

Forum Jump:


Users browsing this thread: 1 Guest(s)