[HELP]Textdraw - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP]Textdraw (
/showthread.php?tid=144411)
[HELP]Textdraw -
eixas10 - 27.04.2010
How to make Textdraw show player money and level
?
Re: [HELP]Textdraw -
[MWR]Blood - 27.04.2010
Explain better please.
Re: [HELP]Textdraw -
Retardedwolf - 27.04.2010
Depends on what you want to do and functions to get player's money and level.
Re: [HELP]Textdraw -
eixas10 - 27.04.2010
Textdraw showplayerstat I want exam.
Re: [HELP]Textdraw -
RenisiL - 27.04.2010
use
TextDrawSetString
Re: [HELP]Textdraw -
eixas10 - 27.04.2010
how to use
I want to create textdraw show player level plese exam for me please.
Re: [HELP]Textdraw -
RenisiL - 27.04.2010
Top:
Код:
public StatsBox()
{
new string[128];
for(new i=0;i<MAX_PLAYERS;i++)
{
if (IsPlayerConnected(i))
{
format(string, sizeof(string), "Money: %i" , GetPlayerMoney(i));
TextDrawSetString(YourTextDrawName[i],string);
}
}
return 1;
}
And after OnGameModeinit add timer
Код:
SetTimer("StatsBox",500, 1);
Re: [HELP]Textdraw -
eixas10 - 27.04.2010
Thx
Re: [HELP]Textdraw -
RenisiL - 27.04.2010
No Problem
Re: [HELP]Textdraw -
eixas10 - 27.04.2010
Problem help me again
D:\GTA\gamemodes\GTA.pwn(34465) : error 017: undefined symbol "TextDrawStat"
D:\GTA\gamemodes\GTA.pwn(34465) : warning 215: expression has no effect
D:\GTA\gamemodes\GTA.pwn(34465) : error 001: expected token: ";", but found "]"
D:\GTA\gamemodes\GTA.pwn(34465) : error 029: invalid expression, assumed zero
D:\GTA\gamemodes\GTA.pwn(34465) : fatal error 107: too many error messages on one line
And I want to show This under player heath bar how to do.