*** Not a descriptive title - ******.
#1

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.
Reply
#2

You can't use there playerid.

Textdraw16 = TextDrawCreate(437.600006, 78.399993, "i");

Now will work
Reply
#3

What then i want to get players name dude.
Reply
#4

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 );
Reply
#5

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


Forum Jump:


Users browsing this thread: 1 Guest(s)