Quantcast
Channel: Forum VeryGames
Viewing all articles
Browse latest Browse all 5196

Script

$
0
0
J'essaye d'ajouter 3 rw au vip et 1 rw au joueurs normaux :

Code:

public Action:OnPlayerSpawn(Handle:event, const String:name[], bool:dontBroadcast)
{
    new client = GetClientOfUserId(GetEventInt(event, "userid"));
   
    if (GetClientTeam(client) == 3)
    {
        PlayerRw[client] = 1;
    }
   
    if(GetUserFlagBits(client) & ADMFLAG_CUSTOM1)
    {
        PlayerRw[client] = 3;
    }
   
    else
    {
        PlayerRw[client] = 0;
    }
}

Faut-il faire comme ca ?

Viewing all articles
Browse latest Browse all 5196