Advertisement
mrdrifter

Untitled

Apr 20th, 2014
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. #include <a_samp>
  2.  
  3.  
  4. native SetPawnString(const format[], {Float,_}:...);
  5. public OnGameModeInit()
  6. {
  7.  
  8. SetPawnString("exd %s i %d", "11", 1);
  9.  
  10.  
  11. return 1;
  12. }
  13.  
  14.  
  15. main(){}
  16.  
  17.  
  18. cell AMX_NATIVE_CALL SetPawnString(AMX* amx, cell* params)
  19. {
  20. char string__[128];
  21.  
  22. sprintf(string__, (const char *) params[1], params[2]);
  23.  
  24. g_Invoke->callNative(&PAWN::print, string__);
  25.  
  26. return 1;
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement