Advertisement
Guest User

Untitled

a guest
Sep 6th, 2016
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.83 KB | None | 0 0
  1. // EXEMPLU 1:
  2.  
  3. main()
  4. {
  5.     cache_get_field_content_float(0, "float shit"); // apel perfect valid in pre-R40
  6. }
  7.  
  8. forward Float:cache_get_field_content_float(row, field_name[], MySQL:connectionHandle );
  9. public Float:cache_get_field_content_float(row, field_name[], MySQL:connectionHandle )
  10. {
  11.     // bla bla bla
  12. }
  13. // rezultat: test.pwn(3) : warning 202: number of arguments does not match definition
  14.  
  15. // =====================================================
  16.  
  17. // EXEMPLU 2:
  18.  
  19. main()
  20. {
  21.     cache_get_field_content_float(0, "float shit", 1); // apel perfect valid in pre-R40
  22. }
  23.  
  24. forward Float:cache_get_field_content_float(row, field_name[], MySQL:connectionHandle );
  25. public Float:cache_get_field_content_float(row, field_name[], MySQL:connectionHandle )
  26. {
  27.     // bla bla bla
  28. }
  29.  
  30. // rezultat: test.pwn(3) : warning 213: tag mismatch
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement