Textdraw rep+
#1

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+
Reply
#2

If you really cant do it then we will have to use teamviewer,believe me it's easy, here is what you have to do:
pawn Код:
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);
}
Reply
#3

It just does not work.. Im doing somthing wrong :S
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)