19.12.2013, 18:44
Hey,
So i want to make it so a textdraw will change everytime a play teleports to a new place so it doesn't spam chat.
I have come across an issue.
I created the text draw and thats fine, this is the command the player will type.
However when the player types /christmas it just removes the textdraw all together. Im not sure if i'm missing anything but i want the text draw to update for all players.
Thanks.
So i want to make it so a textdraw will change everytime a play teleports to a new place so it doesn't spam chat.
I have come across an issue.
I created the text draw and thats fine, this is the command the player will type.
Код:
if(strcmp(cmd, "/christmas", true) == 0) { if(InDM[playerid] == 1) { SendClientMessage(playerid, COLOR_RED, "Please type /leavedm first!"); return 1; } else { new teleport1[200], name[200]; GetPlayerName(playerid, name, 24); format(teleport1, 128, "%s Has Teleported To /christmas ", name); TextDrawSetString(Text:teleports, teleport1); SetPlayerPos(playerid, 260.8745,2897.3154,9.6477); return 1; } }
Thanks.