[AJUDA] Sistema Vip
#1

eaee Galera , Beleza ? Queria + uma ajuda de voces , :
em que parte desse Codigo eu troco para ficar 3 Leveis de Vip , ?
exemplo ? vip bronze Vip prata VipOuro .
Espero Uma Ajuda de Voces ;d

Quote:

Quote:
1°Coloque no topo do GM/FS

#include //Include
new Vip[MAX_PLAYERS]; // Variavel


2°Coloque No OnGameModeInit

if(!fexist("vip.ini")) dini_Create("vip.ini"); // Criarar o Arquivo Vip.ini caso nao exista !


3°Agora em OnPlayerConnect Adicione :


if(dini_Isset("vip.ini",PlayerName(playerid))) (Vip[playerid] = dini_Int("vip.ini",PlayerName(playerid))); // CARREGARAR OS PLAYES VIP'S
SendClientMessage(playerid,0x0000BBAA,"Sistema By: Juninho_Boy !");


4°Adicione em OnPlayerDisconnect


dini_IntSet("vip.ini",PlayerName(playerid),Vip[playerid]);


5° No final do Gm :



stock PlayerName(playerid) {
new PlayerName[MAX_PLAYERS];
GetPlayerName(playerid, PlayerName, MAX_PLAYERS);
return PlayerName;}

Reply


Messages In This Thread
[AJUDA] Sistema Vip - by Rodrigo_Avenged - 03.01.2012, 13:29
Re: [AJUDA] Sistema Vip - by Lуs - 03.01.2012, 13:44
Re: [AJUDA] Sistema Vip - by Rodrigo_Avenged - 03.01.2012, 13:48
Re: [AJUDA] Sistema Vip - by Rodrigo_Avenged - 03.01.2012, 18:00
Re: [AJUDA] Sistema Vip - by Lуs - 03.01.2012, 18:51

Forum Jump:


Users browsing this thread: 1 Guest(s)