Jump to content
  • 0

pomoc ukladani zdravi , vesty , zbrani a skinu


Jirkas

Dotaz

2 odpovědí na tuto otázku

Recommended Posts

  • 0

to mas podle toho kolik mas povolani,dam tady priklad pro nezamestnaneho

if(iPlayerRole[playerid]== 0){  //nastav podle povolani
SetPlayerPos(playerid,-1983.5675,146.1200,27.6875); //spawn hrace po smrti
SetPlayerSkin(playerid,0); // nacte skin po smrti
SetPlayerColor(playerid,0x808080AA); //nacte barvu
}

a nato potrebujes aby se ti ukladalo povolani po odpojeni

Do onPlayerDisconnect

dUserSetINT(PlayerName(playerid)).("povolani",iPlayerRole[playerid]);

Link to comment
Share on other sites

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...