Jump to content

xVip [4 Levele + ZCMD] [200 Downloads] [1050 Views]


onix09

Recommended Posts

daca tot ai facut un FS pentru ...un sv de samp...

uite aici un include facut de mine....schimbi alea cu ce vrei tu schimbi locatia,functile etc..eu am facut unul default....

#include <a_samp>
#include <dini>

enum VIPS
{
    VIP
};
new StoneCore[MAX_PLAYERS][VIPS];

#define VIPs "Vip/%s.ini"

stock SavePlayerVIP(playerid)
{
   new name[MAX_PLAYER_NAME],file[256];
  GetPlayerName(playerid,name,sizeof(name));
   format(file,sizeof(file),VIPs,name);
   if(!dini_Exists(file) )
      {
                dini_Create(file);
                 dini_IntSet(file,"VIP",0);
             dini_Set(file,name);
       }
       if(dini_Exists(file) )
       {
       }     
       
}
stock LoadPlayerVIP(playerid)
{
    new name[MAX_PLAYER_NAME],file[256];GetPlayerName(playerid,name,sizeof(name));
   format(file,sizeof(file),VIPs,name);
   StoneCore[playerid][VIP] = dini_Int(file,"VIP");  
}

stock  SetPlayerVip(playerid,vip)
{
      StoneCore[playerid][VIP] = vip;
      new string[256];
format(string,sizeof(string),"You promoted to %d,/vipcmds to use",);
SendClientMessage(playerid,-1,string);
}
stock GetPlayerVip(playerid,level)
{
     if(StoneCore[playerid][VIP] >= level)
      {
      }
}

Stonecore mi-a venit urma unui nume de pe un mmorpg..

Eu sunt nimeni. Dar prefer sa fiu un nimeni inconjurat de prieteni adevarati, decat un om faimos inconjurat de falsi.

Nu sunt un scripter perfect, nu sunt nici macar pe aproape, insa in in ciuda acestui fapt incerc sa invat sa le fac pe toate.

Link to comment
Share on other sites

  • 2 weeks later...
  • 4 weeks later...
  • 4 months later...

Am revenit cu unwarn. pot posta iar.. si vreau sa zic ca cine vrea sa continuie acest Vip System poate, doar daca imi da un pm cu Y!M lui sai zic ceva.. :D AM pierdut FS-ul terminat deci.. mie lene acela lam facut pe MySql multa munca.. aproximativ 15 comenzi pt fiecare level... deci :( mie lene sal fac iar :))

PM CU Y!M TAU DACA VREI SAL CONTINUII.

9zZndmN.png
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.