[PEDIDO] Socio
#5

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 :

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
[PEDIDO] Socio - by Rodrigo_Avenged - 03.01.2012, 02:06
Re: [AJUDA/PEDIDO] Socio - by Lucas_HenryK - 03.01.2012, 02:44
Re: [AJUDA/PEDIDO] Socio - by Rodrigo_Avenged - 03.01.2012, 02:54
Re: [AJUDA/PEDIDO] Socio - by Lуs - 03.01.2012, 03:05
Re: [AJUDA/PEDIDO] Socio - by Rodrigo_Avenged - 03.01.2012, 03:15

Forum Jump:


Users browsing this thread: 1 Guest(s)