Jump to content
  • 0

pomoc ako urobit info pre hračov


XXXKiller

Dotaz

Caute ako mam urobit info pre hracov? ked Hráč napise /info tak mu nahodi tabulka ze kolko ma nahrany cas , kolko ma nahranych minut , kolko ma alkoholu v krvi atd..

pls poradte ako to mam urobit v pawne.

Link to comment
Share on other sites

12 odpovědí na tuto otázku

Recommended Posts

  • 0

Jednoducho si vytvor príkaz /info a do neho vlož niečo typu :

 

new StrInfo[125];// Vytvoríš si string(text)... Číslo závisí od počtu písmenformat(StrInfo,sizeof(StrInfo),"Alkohol : %d promile\nNahraných %d hodín %d minút",Alkohol[playerid],Hodiny[playerid],Minuty[playerid]);// Premenné si daj svoje !!//No a už len zobraz hráčovi dialogShowPlayerDialog(ID,DID,STYLE,NADPIS,StrInfo,"Ok","");

 

 

Dúfam že si to pochopil :lol:

Link to comment
Share on other sites

  • 0
  • Globální moderátor
lol

 

Alkohol[playerid]

 

GetPlayerDrunkLevel ti nic neříká?

 

tj :d ale můsíž uznat je lepší si udělat svoje promile než mít DrunkLvL 60 000 ;):d

Link to comment
Share on other sites

  • 0
lol

Alkohol[playerid]

GetPlayerDrunkLevel ti nic neříká?

 

tj :d ale můsíž uznat je lepší si udělat svoje promile než mít DrunkLvL 60 000 ;):d

GetPlayerDrunkLevel(playerid)/10000 ;)

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