VIP commands with LuxAdmin?(i NEED A GOOD SCRIPTER)
#2

I cannot help you if you don't give us what is the VIP variable, like

pawn Код:
pInfo[ playerid ][ pVIPLevel ]
Example command, if you give us the variable

pawn Код:
CMD:vipheal( playerid, params[ ] )
{
    if ( pInfo[ playerid ][ pVIPLevel ] < 1 )
        return SendClientMessage( playerid, -1, "You are not a VIP Level 1 ++ member!" );

    SetPlayerHealth( playerid, 100.0 );

    new
        tempString[ 128 ],
        pName[ 24 ]
    ;

    GetPlayerName( playerid, pName, sizeof pName );

    format( tempString, sizeof tempString, "%s has used the Silver VIP Pack to heal himself!", pName );

    SendClientMessageToAll( -1, tempString );

    return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)