Textdraw HELP
#1

Hello, I don't know how to create the OnGameModeInit Textdraw stuff, already tried to create a textdraw but it don't works, so can anyone make it for me i will be very glad.

Код:
new GroveScore,BallasScore;
public OnGameModeInit()
{
  TextDrawStuffz...
}
public OnPlayerDeath(playerid,killerid,reason)
{
  if(gTeam[playerid]==NORK)
  {
    if(gTeam[playerid]==NORK)GroveScore--; //otherwise punishment
    else BallasScore++;
  }else{
    if(gTeam[playerid]==GARRY)BallasScore--; //otherwise punishment
    else GroveScore++;
  }
  new tmpstr[50]; //Accommodate for string size
  format(tmpstr,sizeof(tmpstr),"Nork: %d  Garry:%d",GroveScore,BallasScore);
  TextDrawSetString(YourTextDraw,tmpstr);
  return 1;
}
Thanks anyways, peace.
Reply
#2

i keep my TD in a forward and onplayerconnect since OnGameModeInit doesn't have a playerid argument . try to keep it in OnPlayerConnect
Reply
#3

The problem is that i can't script it, I mean I don't know how to make this textdraw, I know only how to make simple one not with "%d". I want help with the creating of the Textdraw, and thanks - I will keep in mind that i need to put it under OnPlayerConnect.
Reply
#4

Search on internet for samp textdraw editor, there are tons of textdraw editors available.
Reply
#5

Im not asking how to create a basic textdraw if you look at my code you will understand what type of textdraw I need. In internet there are only simple and basic textdraws, not that type that I need.
Reply
#6

TextDrawShowForAll(/*the TD variable*/);
Inside OnGMInit
Reply
#7

Can you make the whole textdraw for me? I will be very thankful.
Reply
#8

Please..
Reply
#9

What kind of Textdraw you need and where on screen?
Reply
#10

Here, where is the black thing - http://prikachi.com/images/543/6855543i.png
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)