30.04.2014, 19:37
Hey Guys.Hope Everything's Fine.
Guys i'm having this simple problem.Can u tell me why is this happening?
So the problem is that i want 3 textdraws on screen 1st is on right,2nd is on left,3rd is in the bottom which is not showing i don't know why.
Here is my script.
Thanks In Advance
Guys i'm having this simple problem.Can u tell me why is this happening?
So the problem is that i want 3 textdraws on screen 1st is on right,2nd is on left,3rd is in the bottom which is not showing i don't know why.
Here is my script.
Код:
// This is a comment // uncomment the line below if you want to write a filterscript //#define FILTERSCRIPT #include <a_samp> public OnFilterScriptInit() { print("\n--------------------------------------"); print(" test"); print("--------------------------------------\n"); return 1; } public OnFilterScriptExit() { return 1; } public OnPlayerConnect(playerid) { MyTextDraw(playerid); return 1; } MyTextDraw(playerid) { new Text:leftsidetext; leftsidetext = TextDrawCreate(1, 206, "/cmds/teles/rules"); TextDrawFont(leftsidetext , 1); TextDrawLetterSize(leftsidetext , 0.4, 1.4); TextDrawColor(leftsidetext , 0xFF00FFFF); TextDrawSetOutline(leftsidetext , 1); TextDrawSetProportional(leftsidetext , 1); TextDrawSetShadow(leftsidetext , 0); TextDrawShowForPlayer(playerid, leftsidetext); new Text:rightsidetext; rightsidetext = TextDrawCreate(470, 206, "stunt/drift/race/parkour"); TextDrawFont(rightsidetext , 1); TextDrawLetterSize(rightsidetext , 0.4, 1.4); TextDrawColor(rightsidetext , 0xFF00FFFF); TextDrawSetOutline(rightsidetext , 1); TextDrawSetProportional(rightsidetext , 1); TextDrawSetShadow(rightsidetext , 0); TextDrawShowForPlayer(playerid, rightsidetext); new Text:ip; ip = TextDrawCreate(223, 462, "Server IP:176.31.103.65:11980"); TextDrawFont(ip , 1); TextDrawLetterSize(ip , 0.4, 1.4); TextDrawColor(ip , 0x00FFFFFF); TextDrawSetOutline(ip , 1); TextDrawSetProportional(ip , 1); TextDrawSetShadow(ip , 0); TextDrawShowForPlayer(playerid,ip); }