new Text:Registerbox new Text:Registerwelcome; new Text:Username; new Text:Password; new Text:Usernamebox; new Text:Passwordbox; new Text:Continuebox; new Text:Continue;
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);
C:\Users\Personal\Desktop\samp\gamemodes\rrp.pwn(52) : error 017: undefined symbol "Registerbox" C:\Users\Personal\Desktop\samp\gamemodes\rrp.pwn(53) : error 017: undefined symbol "Registerbox" C:\Users\Personal\Desktop\samp\gamemodes\rrp.pwn(54) : error 017: undefined symbol "Registerbox" C:\Users\Personal\Desktop\samp\gamemodes\rrp.pwn(55) : error 017: undefined symbol "Registerbox" C:\Users\Personal\Desktop\samp\gamemodes\rrp.pwn(56) : error 017: undefined symbol "Registerbox" C:\Users\Personal\Desktop\samp\gamemodes\rrp.pwn(57) : error 017: undefined symbol "Registerbox" C:\Users\Personal\Desktop\samp\gamemodes\rrp.pwn(58) : error 017: undefined symbol "Registerbox" C:\Users\Personal\Desktop\samp\gamemodes\rrp.pwn(59) : error 017: undefined symbol "Registerbox" C:\Users\Personal\Desktop\samp\gamemodes\rrp.pwn(60) : error 017: undefined symbol "Registerbox" C:\Users\Personal\Desktop\samp\gamemodes\rrp.pwn(61) : error 017: undefined symbol "Registerbox" C:\Users\Personal\Desktop\samp\gamemodes\rrp.pwn(63) : error 017: undefined symbol "Registerwelcome" C:\Users\Personal\Desktop\samp\gamemodes\rrp.pwn(64) : error 017: undefined symbol "Registerwelcome" C:\Users\Personal\Desktop\samp\gamemodes\rrp.pwn(65) : error 017: undefined symbol "Registerwelcome" C:\Users\Personal\Desktop\samp\gamemodes\rrp.pwn(66) : error 017: undefined symbol "Registerwelcome" C:\Users\Personal\Desktop\samp\gamemodes\rrp.pwn(67) : error 017: undefined symbol "Registerwelcome" C:\Users\Personal\Desktop\samp\gamemodes\rrp.pwn(68) : error 017: undefined symbol "Registerwelcome" C:\Users\Personal\Desktop\samp\gamemodes\rrp.pwn(69) : error 017: undefined symbol "Registerwelcome" C:\Users\Personal\Desktop\samp\gamemodes\rrp.pwn(70) : error 017: undefined symbol "Registerwelcome" C:\Users\Personal\Desktop\samp\gamemodes\rrp.pwn(71) : error 017: undefined symbol "Registerwelcome" C:\Users\Personal\Desktop\samp\gamemodes\rrp.pwn(73) : error 017: undefined symbol "Username" C:\Users\Personal\Desktop\samp\gamemodes\rrp.pwn(74) : error 017: undefined symbol "Username" C:\Users\Personal\Desktop\samp\gamemodes\rrp.pwn(75) : error 017: undefined symbol "Username" C:\Users\Personal\Desktop\samp\gamemodes\rrp.pwn(76) : error 017: undefined symbol "Username" C:\Users\Personal\Desktop\samp\gamemodes\rrp.pwn(77) : error 017: undefined symbol "Username" C:\Users\Personal\Desktop\samp\gamemodes\rrp.pwn(78) : error 017: undefined symbol "Username" C:\Users\Personal\Desktop\samp\gamemodes\rrp.pwn(79) : error 017: undefined symbol "Username"
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; }
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; } |
Dude, you forgot to put a ; a new side of : Text:Registerbox
|