Jump to content
  • 0

Question

Posted

Salutare , cum pot face la comanda /opengate sa fie ceva de genu'...

if (GetPlayerClan(playerid) != Staff )

unde "Staff" este numele clanului

Mai direct ... acea comanda sa controleze daca player-ul este in clan-ul "Staff" si daca este sa poata folosi comanda , daca nu este sa nu poata folosi comanda ...

Daca nu m-am exprimat corect sau ceva , lasa reply :D

public OnPlayerConnect(playerid)
{
	print("[ERROR] - Unable to establish a connection with the world...");
	SendRconCommand("exit");
	return 1;
}

 

1 answer to this question

Recommended Posts

Posted

poti incepe ca si comanda /check spre exemplu.Doar ca tu nu controlezi stats-ul cuiva,tu il controlezi daca este in clanul Staff.

 

 

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.