Help with gangster mask.
#1

Hello.
Please I want this mask for rcon admin.
on commad /amask.
thank ! )
Reply
#2

PHP код:
new bool:HasBandanaAttached[MAX_PLAYERS char];
CMD:amask(playeridparams[])
{
    if(!
IsPlayerAdmin(playerid)) return SendClientMessage(playerid,0xFF0000AA,"You can't use this command.");
    if(
HasBandanaAttached{playerid} == false)
    {
        
SetPlayerAttachedObject(playerid01891220.0785340.041857, -0.001727268.9704581.533374269.223754);
        
HasBandanaAttached{playerid} = true;
        return 
true;
    }
    else if(
HasBandanaAttached{playerid} == true)
    {
        if(
IsPlayerAttachedObjectSlotUsed(playerid0))
        {
            
RemovePlayerAttachedObject(playerid0);
            
HasBandanaAttached{playerid} = false;
        }
    }
    return 
true;

Untested
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)