Advertisement
garfield

[COD]: Converter Interador para string.

Oct 17th, 2011
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.31 KB | None | 0 0
  1. /*
  2.     @[iPs]SuYaNw
  3. */
  4.  
  5. // Esta função converte Interador para string.
  6. static stock IntToStr(inte)
  7. {
  8.         static _str[100];
  9.         format(_str, sizeof(_str),"%d", inte);
  10.         return _str;
  11. }
  12.  
  13.  
  14. // Teste função:
  15.  
  16. #include a_samp
  17.  
  18. public OnFilterScriptInit()
  19. {
  20.     print(IntToStr(540));
  21.     return 1;
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement