19.08.2009, 22:26
Hey im trying to make it so when a player types a cmd of a stunt location e.g /stunt it says at the top of the screen "playername has gone to /stuntareahere" but i get errors with this:
Код:
{ new pname[24], string[128]; GetPlayerName(playerid, pname, sizeof(pname)); format(string, sizeof(string), "%s has gone to", cmdtext, pname); Textdraw0 = TextDrawCreate(202.000000,4.000000, string); TextDrawAlignment(Textdraw10,0); TextDrawBackgroundColor(Textdraw10,0x000000ff); TextDrawFont(Textdraw10,3); TextDrawLetterSize(Textdraw10,0.399999,1.300000); TextDrawColor(Textdraw10,0xff0000ff); TextDrawSetOutline(Textdraw10,1); TextDrawSetProportional(Textdraw10,1); TextDrawSetShadow(Textdraw10,1); }