Advertisement
Guest User

Untitled

a guest
Oct 25th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. function PluginProc(Code: Cardinal; p1, p2, p3: PWideChar): PWideChar; stdcall;
  2. begin
  3. case code of
  4. 0: result := PChar(user.name);
  5. 1: Engine.DMoveTo(StrToInt(p1), StrToInt(p2), user.z);
  6. 2: Print(p2);
  7. 3: Result := PChar(FToStr(User.X));
  8. 4: Result := PChar(FToStr(User.Y));
  9. 5: Result := PChar('0');
  10. 6: Result := PChar('abc');
  11. 7: Result := pchar(2);
  12. end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement