SA-MP Forums Archive
[PEDIDO] Socio - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [PEDIDO] Socio (/showthread.php?tid=308304)



[PEDIDO] Socio - Rodrigo_Avenged - 03.01.2012

Ola Gostaria de saber se algum de voces ja encontraram algum sistema de socio e de VIP com 3 Levis , Tipo :
Vip Bronze , Vip Prata e Vip Ouro
Socio bronze socio prata e socio Ouro ,

Ai Gostaria de saber , ja procurei pelo forum e nao achei , e se tiverem o codigo , peзo Por faovr poste aqui , .
Pode postar o Codigo , ou Link Da pagina .
Obrigado


Re: [AJUDA/PEDIDO] Socio - Lucas_HenryK - 03.01.2012

Tente isso:

http://www.tecno-samp.net/2011/06/fs...ip-basico.html
http://www.tecno-samp.net/2011/01/sistema-viptut.html


Re: [AJUDA/PEDIDO] Socio - Rodrigo_Avenged - 03.01.2012

Queria 1 com 3 levis , como citei acima , mas Obrigado .


Re: [AJUDA/PEDIDO] Socio - Lуs - 03.01.2012

Simples. Se nгo tem, crie. Se nгo sabe, aprenda. Se nгo quer aprender, modifique. E assim vai indo.


Re: [AJUDA/PEDIDO] Socio - Rodrigo_Avenged - 03.01.2012

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;}