Jump to content

Recommended Posts

Posted

Va rog frumos sa ma ajutati cu o comanda de [/getpremium] adica daca tastezi comanda sa-ti dea cont premium.
Vreau sa fie o limita de 20 conturi premium in comanda, gen doar 20 jucatori sa poata da comanda.

Posted

Ne poți spune mai multe informații despre gamemode-ul pe care îl folosești? Ca să te putem ajuta.

  • 4 months later...
Posted

CMD:getpremium(playerid, params[])

{

if (PlayerInfo[playerid][pPremium] == 0)

   {

   if (PlayerInfo[playerid][pPremium] == 1)

*Aici pui o variabila care sa selecteze Conturile premium puse in stock in baza de date si sa scada cu 1.* P.S. O poti gasii pe net.

   Update(pConturiPremium);

   SendClientMessage(playerid, COLOR_GREEN, "Now you have a premium account.");

   }

if (PlayerInfo[playerid][pPremium] == 1)

 {

SendClientMessage(playerid, COLOR_RED, "Ai deja un cont premium");

 }

}

Trebuie sa definesti conturile premium cu "pPremium".

Bot developer (Discord): https://discordapp.com/oauth2/authorize?client_id=584989992481193989&scope=bot&permissions=8

Web Developer (Disponibil pentru proiecte noi, experienta de 3 ani in php, mysql si web design)

Scripter SA:MP (Am reinceput sa lucrez in domeniul acesta pentru a sustine comunitatea de samp dupa o pauza de 2 ani)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.