Hello There, Guest! Login or Register


Function to remove currently held objects
#1
Quote:// Put with your defines

#define O RemoveHoldingObjects
#define K playerid
#define C stock
#define DI for
#define KS new
#define YOU i
#define LOSER 0
#define you i
#define slice MAX_PLAYER_ATTACHED_OBJECTS
#define BUTTSE if
#define KS IsPlayerAttachedObjectSlotUsed
#define WITH playerid
#define YOUR_MOM i
#define IN RemovePlayerAttachedObject
#define THE playerid
#define KITCHEN i

// Put with your functions

C O ( K
) {
    DI(KS
    YOU=LOSER;
    you < slice;
    fuss_fuss ++
)
    BUTTSE(KS
    (        WITH, YOUR_MOM                ))
                              IN
    (                            THE, KITCHEN
    );
}

[Image: gallery_Napoleon_Dynamite_1.jpg]
Reply
#2
Awesome, always loved these kind of scripts :')
Reply