//Rules Textdraw
new Text:Rules0;
new Text:Rules1;
new Text:Rules2;
new Text:Rules3;
new Text:Rules4;
new Text:Rules5;
Rules0 = TextDrawCreate(24.000000,143.000000," The Server Rules");
Rules1 = TextDrawCreate(22.000000,164.000000,"- Do Not Hack, or Cheat, Or Use ANY Exploits");
Rules2 = TextDrawCreate(21.000000,195.000000,"- Respect all other admins and Players!");
Rules3 = TextDrawCreate(21.000000,224.000000,"- Don't Use Hacks And Airbreak And Minigun!");
Rules4 = TextDrawCreate(21.000000,252.000000,"- Failure to Follow This will Result in a Kick or Ban!");
Rules5 = TextDrawCreate(20.000000,282.000000,"- By Seeing This, You Agree with all the rules and Terms");
TextDrawAlignment(Rules0,0);
TextDrawAlignment(Rules1,0);
TextDrawAlignment(Rules2,0);
TextDrawAlignment(Rules3,0);
TextDrawAlignment(Rules4,0);
TextDrawAlignment(Rules5,0);
TextDrawBackgroundColor(Rules0,0x000000ff);
TextDrawBackgroundColor(Rules1,0x000000ff);
TextDrawBackgroundColor(Rules2,0x000000ff);
TextDrawBackgroundColor(Rules3,0x000000ff);
TextDrawBackgroundColor(Rules4,0x000000ff);
TextDrawBackgroundColor(Rules5,0x000000ff);
TextDrawFont(Rules0,1);
TextDrawLetterSize(Rules0,0.199999,0.899999);
TextDrawFont(Rules1,1);
TextDrawLetterSize(Rules1,0.199999,0.899999);
TextDrawFont(Rules2,1);
TextDrawLetterSize(Rules2,0.199999,0.899999);
TextDrawFont(Rules3,1);
TextDrawLetterSize(Rules3,0.199999,0.899999);
TextDrawFont(Rules4,1);
TextDrawLetterSize(Rules4,0.199999,0.899999);
TextDrawFont(Rules5,1);
TextDrawLetterSize(Rules5,0.199999,0.899999);
TextDrawColor(Rules0,0xff0000ff);
TextDrawColor(Rules1,0xffffffff);
TextDrawColor(Rules2,0xffffffff);
TextDrawColor(Rules3,0xffffffff);
TextDrawColor(Rules4,0xffffffff);
TextDrawColor(Rules5,0xffffffff);
TextDrawSetOutline(Rules0,1);
TextDrawSetOutline(Rules1,1);
TextDrawSetOutline(Rules2,1);
TextDrawSetOutline(Rules3,1);
TextDrawSetOutline(Rules4,1);
TextDrawSetOutline(Rules5,1);
TextDrawSetProportional(Rules0,1);
TextDrawSetProportional(Rules1,1);
TextDrawSetProportional(Rules2,1);
TextDrawSetProportional(Rules3,1);
TextDrawSetProportional(Rules4,1);
TextDrawSetProportional(Rules5,1);
TextDrawSetShadow(Rules0,1);
TextDrawSetShadow(Rules1,1);
TextDrawSetShadow(Rules2,1);
TextDrawSetShadow(Rules3,1);
TextDrawSetShadow(Rules4,1);
TextDrawSetShadow(Rules5,1);
//Rules Textdraw
TextDrawShowForPlayer(playerid, Rules0);
TextDrawShowForPlayer(playerid, Rules1);
TextDrawShowForPlayer(playerid, Rules2);
TextDrawShowForPlayer(playerid, Rules3);
TextDrawShowForPlayer(playerid, Rules4);
TextDrawShowForPlayer(playerid, Rules5);
TextDrawHideForPlayer(playerid, Rules0);
TextDrawHideForPlayer(playerid, Rules1);
TextDrawHideForPlayer(playerid, Rules2);
TextDrawHideForPlayer(playerid, Rules3);
TextDrawHideForPlayer(playerid, Rules4);
TextDrawHideForPlayer(playerid, Rules5);
Put it under onplayerconnect
pawn Код:
|