[Ajuda] sistema vip
#2

vou te dar apenas uma base e vocк se vira ok ?

PHP код:
new vip[MAX_PLAYERS];
public 
OnPlayerSpawn(playerid)
{
        new 
aname[MAX_PLAYER_NAME], String[35];
        
GetPlayerName(playeridaname24);
        if(
vip[playerid] >= 1)
        { 
        
format(Stringsizeof(String), "[VIP] %s"aname);
        
SetPlayerChatBubble(playeridString0x5EAF03FF20.010000); 
        
//funзгo para dar chave aqui 
        
}
    return 
1;
}
CMD:darvip(playeridparams[])
{
     new 
idx;
     if(
sscanf(params,"d",idx))
     if(!
IsPlayerIsAdmin(playerid))  return  SendClientMessage(playerid, -1"Vocк nгo й administrador! ");
     
vip[idx] = 1;
     return 
true;

Reply


Messages In This Thread
sistema vip - by HusteD - 10.10.2018, 16:55
Re: sistema vip - by GSantana - 10.10.2018, 17:07
Re: sistema vip - by HusteD - 10.10.2018, 17:17

Forum Jump:


Users browsing this thread: 1 Guest(s)