textdraw
#10

Quote:
Originally Posted by Serediucr
ok , i made the player td by myself , and score too! player one work , but when i add score textdraw it compiles good , but when i run samp-server.exe it crashes!
code from score td:
pawn Код:
//up
new Text:pxtdplay2;
new Text:scoretd[100]; //         <------------------------------- LOOK AT THIS LINE :D:D:D:D:D
//init
SetTimer("scoretdt",1000,1);
pxtdplay2 = TextDrawCreate(1.000000,426.000000,scoretd);
//and the other textdraw properties

//down
forward scoretdt(playerid);
public scoretdt(playerid)
{
format(scoretd,sizeof(scoretd),"Scor=%i", GetPlayerScore(playerid));
TextDrawSetString(pxtdplay2,scoretd);
return 1;
}
plzplzplzplzplzplz heelp!!!
Reply


Messages In This Thread
textdraw - by Serediucr - 28.07.2009, 14:47
Re: textdraw - by James_Alex - 28.07.2009, 14:50
Re: textdraw - by Serediucr - 28.07.2009, 14:51
Re: textdraw - by Serediucr - 28.07.2009, 14:53
Re: textdraw - by Serediucr - 28.07.2009, 15:43
Re: textdraw - by Serediucr - 28.07.2009, 16:18
Re: textdraw - by Serediucr - 28.07.2009, 16:43
Re: textdraw - by Serediucr - 28.07.2009, 18:45
Re: textdraw - by James_Alex - 28.07.2009, 18:57
Re: textdraw - by Marcel - 28.07.2009, 18:58

Forum Jump:


Users browsing this thread: 3 Guest(s)