03.01.2012, 03:15
Sim , Los quero Muito aprender + em Pawn, mas sabe tem umas coisas que preciso Aprender .
e nese Link http://www.tecno-samp.net/2011/01/sistema-viptut.html
eu Preciso trocar o quer para ficar com 3 Leveis de Vip ? Irei passar os codigos aqui :
e nese Link http://www.tecno-samp.net/2011/01/sistema-viptut.html
eu Preciso trocar o quer para ficar com 3 Leveis de Vip ? Irei passar os codigos aqui :
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;} |