help me level - 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 me level (
/showthread.php?tid=226783)
help me level -
bboytimix - 16.02.2011
please help me on my fs
http://pastebin.com/zZNjqrZK
i want make a text draw look like Level:[player level here] and kills:[player kills]
and" kill :23/25" -do the kill change this name "XP" not "kill"
and show the player level and XP on craeteplayer3d
please help me
sorry for bad english
Re: help me level -
Zack9764 - 16.02.2011
Make it like this
Код:
format(string, sizeof(string), " %s ", EXP);
Create3DTextLabel(string,0x000000FF,X,Y,Z,50.0,0,0);
Attach3DTextLabelToPlayer(EXP, playerid, 0.0, 0.0, 0.4);
And so on.
Re: help me level -
bboytimix - 16.02.2011
but where i put it ?
Re: help me level -
Windows7 - 16.02.2011
Код:
public OnFilterScriptInit()
{
format(string, sizeof(string), " %s ", EXP);
Create3DTextLabel(string,0x000000FF,X,Y,Z,50.0,0,0);
Attach3DTextLabelToPlayer(EXP, playerid, 0.0, 0.0, 0.4);
return 1;
}
Or onplayerconnect
Re: help me level -
HyperZ - 16.02.2011
Quote:
Originally Posted by Windows7
Код:
public OnFilterScriptInit()
{
format(string, sizeof(string), " %s ", EXP);
Create3DTextLabel(string,0x000000FF,X,Y,Z,50.0,0,0);
Attach3DTextLabelToPlayer(EXP, playerid, 0.0, 0.0, 0.4);
return 1;
}
Or onplayerconnect
|
Yes it should be on onplayerconnect, not on OnFilterScriptInit
Re: help me level -
bboytimix - 16.02.2011
guys what abaut the text draw for showing the player level on the screen and the player kills
and how many kills he need to kill !?
Re: help me level -
bboytimix - 16.02.2011
i ptted it in onplayerconnect and i have errors
C:\Users\nir\Desktop\0.3c\gamemodes\REA.pwn(66
: error 017: undefined symbol "string"
C:\Users\nir\Desktop\0.3c\gamemodes\REA.pwn(66
: error 017: undefined symbol "string"
C:\Users\nir\Desktop\0.3c\gamemodes\REA.pwn(66
: error 029: invalid expression, assumed zero
Re: help me level -
Roomeo - 16.02.2011
Yep it Gives Warning i also Don't Know Why..
Re: help me level -
bboytimix - 16.02.2011
some one can to help ?
Re: help me level -
xir - 16.02.2011
Add: