Jump to content
  • 0

Register/Login System.


PrtSc

Question

Problema intalnita (descriere): Salut, cum as putea face la un sv rpg ca cand te inregistrezi sa apara asa ca in poza ? DOAR PENTRU ADIMIN SI HELPERI SA ARATE.
Ero(area / rile) / warning-(ul / urile): Nu contine asa ceva.
Liniile de cod / sursa / script-ul(obligatoriu): Nustiu pe care.
Imagini / Video (optional): http://imgur.com/A6qcuxJ
Ati incercat sa rezolvati singur?:  Nu, scuzati daca nu se intelege bine.

Edited by Kallen
Nevoie cu valoare
Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Salut,incearca sa adaugi la publicul OnPlayerConnect ceva de genul acesta:

Si defineste undeva sus in GM asta:

#define ICON_CONNECT 200

if(PlayerInfo[playerid][pAdmin] < 1)
{
	SendDeathMessage(INVALID_PLAYER_ID,playerid, ICON_CONNECT);
	return 1;
}

unde scrie PlayerInfo[playerid][pAdmin] daca ai altcumva in GM poti modifica cu ale tale...eu am folosit aia pentru ca e cea mai folosita in GM-uri.

Edited by TKCode
Am inteles gresit..sorry

Ofer servicii de web designer/developer(contact me pentru portofoliu etc)

Metode de plata: Paysafecard,Skrill,PayPal,Bitcoin

Ofer si servicii de Penetration Testing.

Vand si VPN-uri. 5 euro pe luna

Skype: live:mrtunne.tkcode

Discord: https://mrtunne.info/discord

Link to comment
Share on other sites

  • 0
20 hours ago, TKCode said:

Salut,incearca sa adaugi la publicul OnPlayerConnect ceva de genul acesta:

Si defineste undeva sus in GM asta:

#define ICON_CONNECT 200

if(PlayerInfo[playerid][pAdmin] < 1)
{
	SendDeathMessage(INVALID_PLAYER_ID,playerid, ICON_CONNECT);
	return 1;
}

unde scrie PlayerInfo[playerid][pAdmin] daca ai altcumva in GM poti modifica cu ale tale...eu am folosit aia pentru ca e cea mai folosita in GM-uri.

merge ok asa, dar arata si la ceilalti playeri cum se inregistreaza unul. faza cu if(playerinfo[playerid[padmin] < 1) nu merge.

Link to comment
Share on other sites

  • 0

Adauga asta la SetPlayerUnjail(playerid)

 

            if(PlayerInfo[pAdmin] >= 1)
            {

                 SendDeathMessage(INVALID_PLAYER_ID,playerid, ICON_CONNECT);

                 return 1;


            }

Link to comment
Share on other sites

  • 0
53 minutes ago, VeLo said:

Adauga asta la SetPlayerUnjail(playerid)

 

            if(PlayerInfo[pAdmin] >= 1)
            {

                 SendDeathMessage(INVALID_PLAYER_ID,playerid, ICON_CONNECT);

                 return 1;


            }

D:\games install\Buttion RPG\gamemodes\Buttion.pwn(6127) : error 017: undefined symbol "PlayerInfo"
D:\games install\Buttion RPG\gamemodes\Buttion.pwn(6127) : error 017: undefined symbol "pAdmin"
D:\games install\Buttion RPG\gamemodes\Buttion.pwn(6127) : error 029: invalid expression, assumed zero
D:\games install\Buttion RPG\gamemodes\Buttion.pwn(6127) : fatal error 107: too many error messages on one line

 

 if(PlayerInfo[pAdmin] >= 1) asta e linia

Edited by Kallen
Edit
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • 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.