Jump to content
  • 0

pomoc [Help]Ukazovatel Wanted level


Guest StReeY [Dinti]

Dotaz

Guest StReeY [Dinti]

Chcem sa spýtat že ako udelám ukazovatel wanted levla ked napriklád da nejaky hrác

/wanted

 

tak mu ukaze napríklad

SoNNy [W]-5

MaX [W]-4

.............. pls help

Link to comment
Share on other sites

7 odpovědí na tuto otázku

Recommended Posts

  • 0

pokud nemáš v módu stock PlayerName

stock PlayerName(playerid) {
new name[255];
GetPlayerName(playerid, name, 255);
return name;
}

do příkazu :

new string[256];
for(new i=0;i<= GetMaxPlayers();i++){
if(GetPlayerWantedLevel(i) > 0){
	format(string,sizeof(string),"%s [W] - %d",PlayerName(i),GetPlayerWantedLevel(i));
	SendClientMessage(playerid, COLOR_WHITE, string);
}
}

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