Advertisement
Guest User

Untitled

a guest
Feb 20th, 2020
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. script 1 (void) {
  2. BTech_AddParamStr("username", "bake");
  3. BTech_AddParamInt("somenumber", 234234);
  4. BTech_SetClientCallback("myCallbackFunction", PlayerNumber());
  5. BTech_Call("fetchDataFromInternet");
  6. }
  7.  
  8. script "myCallbackFunction" (void) {
  9. Log(s: GetParam());
  10. Log(s: "I got called from the server and was provided real outside data")
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement