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!!!