*** Not a descriptive title - ******. - 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)
+--- Thread: *** Not a descriptive title - ******. (
/showthread.php?tid=395763)
*** Not a descriptive title - ******. -
Mustafa6155 - 27.11.2012
isnt this good?
pawn Код:
Textdraw16 = TextDrawCreate(437.600006, 78.399993, "i", playerid);
Its says ass error playerid not defined i did something wrong please tell me.
Re: Please help i did something wrong? -
WiPaS - 27.11.2012
You can't use there playerid.
Textdraw16 = TextDrawCreate(437.600006, 78.399993, "i");
Now will work
Re: Please help i did something wrong? -
Mustafa6155 - 27.11.2012
What then i want to get players name dude.
Re: *** Not a descriptive title - ******. -
NumbSkull - 27.11.2012
pawn Код:
Textdraw16 = TextDrawCreate(437.600006, 78.399993, string);
then where you show it
pawn Код:
new string[64];
format(string, sizeof(string), "* %s i love you!", GetPlayerNameEx(playerid));
TextDrawShowForPlayer(playerid, Textdraw16 );
Re: *** Not a descriptive title - ******. -
Mustafa6155 - 27.11.2012
pawn Код:
new string[64];
format(string, sizeof(string), "%s", GetPlayerNameEx(playerid));
TextDrawShowForPlayer(playerid, Textdraw16 );
Textdraw16 = TextDrawCreate(437.600006, 78.399993, string);
Код:
C:\Users\Mustafa\Desktop\SAmp SRV\ForYou\gamemodes\TDM.pwn(224) : error 017: undefined symbol "GetPlayerNameEx"
C:\Users\Mustafa\Desktop\SAmp SRV\ForYou\gamemodes\TDM.pwn(225) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.