29.08.2015, 12:30
Can someone help me put in the textdraw i made? When i put it in it gives a error. I never did it before. Can you help me via teamview that would be awesome! Rep+
new Text:yourtext; //anywhere up in your script
public OnGameModeInit()
{
yourtext = TextDrawCreate(X,Y,"Text here"); // under ongamemode in it, change the text to your textdraw's text and change the X and Y to the coordinates that your textdraw has
return 1;
}
//Now to show it to a player,you must use this under the command or the thing that you want it to show at, i will show you under onplayerconnect
public OnPlayerConnect(playerid)
{
TextDrawShowForPlayer(playerid,yourtext);
}