SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 23/03/2013, 10:30 PM   #1
Montis123
Big Clucker
 
Join Date: Apr 2010
Posts: 116
Reputation: 1
Default Need some help

I use iPLEOMAX's Textdraw editor

I try create textdraw


pawn Code:
CMD:aa(playerid,params[])
{
    new PlayerText:Textdraw0[MAX_PLAYERS];
    Textdraw0[playerid] = CreatePlayerTextDraw(playerid, 445.200012, 127.686668, "usebox");
    PlayerTextDrawLetterSize(playerid, Textdraw0[playerid], 0.000000, 18.681852);
    PlayerTextDrawTextSize(playerid, Textdraw0[playerid], 156.399993, 0.000000);
    PlayerTextDrawAlignment(playerid, Textdraw0[playerid], 1);
    PlayerTextDrawColor(playerid, Textdraw0[playerid], 0);
    PlayerTextDrawUseBox(playerid, Textdraw0[playerid], true);
    PlayerTextDrawBoxColor(playerid, Textdraw0[playerid], 102);
    PlayerTextDrawSetShadow(playerid, Textdraw0[playerid], 0);
    PlayerTextDrawSetOutline(playerid, Textdraw0[playerid], 0);
    PlayerTextDrawFont(playerid, Textdraw0[playerid], 0);
    return 1;
}


But when i use this command nothing happens i don't see my textdraw.

What's wrong ?
Montis123 is offline   Reply With Quote
Old 23/03/2013, 10:57 PM   #2
SilverKiller
Gangsta
 
SilverKiller's Avatar
 
Join Date: Nov 2012
Location: =>space<=
Posts: 626
Reputation: 56
Default Re: Need some help

pawn Code:
PlayerTextDrawShow(playerid, Textdraw0[playerid]);
__________________
I'm working on an admin system called skAdmin, 40% finished.


Scripting simple admin systems with some commands for free, PM me for more info.

I also need testers for my skAdmin filterscript, if you want to test, you are welcome!, just send me a pm.

Quote:
Originally Posted by cessil View Post
I quit school and became a professional sa-mp player
Guys, if i helped anyone incorrectly, please correct me, thank you.
SilverKiller is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 07:53 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.