30.09.2016, 18:53
Put on your OnGameModeInit or OnFilterScriptInt
Код:
public OnGameModeInit() { Registerbox = TextDrawCreate(639.599975, 132.166656, "usebox"); TextDrawLetterSize(Registerbox, 0.000000, 22.498149); TextDrawTextSize(Registerbox, -2.000000, 0.000000); TextDrawAlignment(Registerbox, 1); TextDrawColor(Registerbox, 0); TextDrawUseBox(Registerbox, true); TextDrawBoxColor(Registerbox, 102); TextDrawSetShadow(Registerbox, 0); TextDrawSetOutline(Registerbox, 0); TextDrawFont(Registerbox, 0); Registerwelcome = TextDrawCreate(23.200012, 139.626632, "Welcome To Rusted-Rp..Enter Your Password And Username To Continue"); TextDrawLetterSize(Registerwelcome, 0.365197, 1.853865); TextDrawAlignment(Registerwelcome, 1); TextDrawColor(Registerwelcome, 16711935); TextDrawSetShadow(Registerwelcome, 0); TextDrawSetOutline(Registerwelcome, 1); TextDrawBackgroundColor(Registerwelcome, 51); TextDrawFont(Registerwelcome, 2); TextDrawSetProportional(Registerwelcome, 1); Username = TextDrawCreate(108.000000, 185.919998, "Username"); TextDrawLetterSize(Username, 0.565199, 2.451199); TextDrawAlignment(Username, 1); TextDrawColor(Username, -1); TextDrawSetShadow(Username, 7); TextDrawSetOutline(Username, 0); TextDrawBackgroundColor(Username, 51); TextDrawFont(Username, 2); TextDrawSetProportional(Username, 1); Password = TextDrawCreate(108.799987, 236.693328, "Password"); TextDrawLetterSize(Password, 0.577198, 2.413861); TextDrawAlignment(Password, 1); TextDrawColor(Password, -1); TextDrawSetShadow(Password, 7); TextDrawSetOutline(Password, 0); TextDrawBackgroundColor(Password, 51); TextDrawFont(Password, 2); TextDrawSetProportional(Password, 1); Usernamebox = TextDrawCreate(514.799987, 188.166656, "usebox"); TextDrawLetterSize(Usernamebox, 0.000000, 2.338148); TextDrawTextSize(Usernamebox, 270.800018, 0.000000); TextDrawAlignment(Usernamebox, 1); TextDrawColor(Usernamebox, 0); TextDrawUseBox(Usernamebox, true); TextDrawBoxColor(Usernamebox, 102); TextDrawSetShadow(Usernamebox, 0); TextDrawSetOutline(Usernamebox, 0); TextDrawFont(Usernamebox, 0); Passwordbox = TextDrawCreate(515.599975, 238.940093, "usebox"); TextDrawLetterSize(Passwordbox, 0.000000, 2.172221); TextDrawTextSize(Passwordbox, 270.800018, 0.000000); TextDrawAlignment(Passwordbox, 1); TextDrawColor(Passwordbox, 0); TextDrawUseBox(Passwordbox, true); TextDrawBoxColor(Passwordbox, 102); TextDrawSetShadow(Passwordbox, 0); TextDrawSetOutline(Passwordbox, 0); TextDrawFont(Passwordbox, 0); Continuebox = TextDrawCreate(388.399993, 302.406677, "usebox"); TextDrawLetterSize(Continuebox, 0.000000, 2.338148); TextDrawTextSize(Continuebox, 246.799987, 0.000000); TextDrawAlignment(Continuebox, 1); TextDrawColor(Continuebox, 0); TextDrawUseBox(Continuebox, true); TextDrawBoxColor(Continuebox, 102); TextDrawSetShadow(Continuebox, 0); TextDrawSetOutline(Continuebox, 0); TextDrawFont(Continuebox, 0); Continue = TextDrawCreate(272.000030, 304.639953, "Continue"); TextDrawLetterSize(Continue, 0.449999, 1.600000); TextDrawAlignment(Continue, 1); TextDrawColor(Continue, -1); TextDrawSetShadow(Continue, 0); TextDrawSetOutline(Continue, 1); TextDrawBackgroundColor(Continue, 51); TextDrawFont(Continue, 2); TextDrawSetProportional(Continue, 1); TextDrawSetSelectable(Continue, true); return 1; }