Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <body>
- Team ID: <input id="teamid"><br>
- Name: <input id="name"><br>
- Color(Numbers):<input type="text" id="color"> <br>
- Model:<input type="text" id="model"> <br>
- Description:<input type="text" id="description"> <br>
- Weapons:<input type="text" id="weapons"> <br>
- Chat command(t.ex citizen. Then it will be /citizen and you'll become a citizen):<input type="text" id="chatcommand"> <br>
- Max Players:<input type="text" id="max"> <br>
- Salary:<input type="text" id="salary"> <br>
- Admin:<input type="text" id="admin"> <br>
- Vote:<input type="text" id="vote"> <br>
- Got license:<input type="text" id="tests"> <br>
- <li type="text" id="testss"> <br>
- Result:<div id="result">
- <script type="text/javascript">$("input").keyup(function () {
- $("#result").text(
- 'TEAM_' + $("#teamid").val() +
- ' = DarkRP.createJob("' + $("#name").val() +
- '", { color = Color(' + $("#color").val() +
- '), model = "' + $("#model").val() +
- '", description = [[' + $("#description").val() +
- ']], weapons = {"' + $("#weapons").val() +
- '"}, command ="' + $("#chatcommand").val() +
- '", max =' + $("#max").val() +
- ', salary =' + $("#salary").val() +
- ', admin =' + $("#admin").val() +
- ', vote =' + $("#vote").val() +
- ', hasLicense =' + $("#tests").val() +
- ', ' + $("#testss").val() +
- '})');
- });</script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement