Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Pawn fail
- #include <a_samp>
- public OnFilterScriptInit()
- {
- Funcao(5);
- Funcao(Menu:88);
- Funcao(67.9);
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- stock Funcao({Float, Menu, _}:value)
- {
- new Float:tag1, Menu:tag2, tag3;
- //Gambiarra pra não dar o warning 203
- tickcount(_:tag1);
- tickcount(_:tag2);
- tickcount(_:tag3);
- switch(tagof(value))
- {
- case tagof(tag1):
- printf("É um Float: %f", value);
- case tagof(tag2):
- printf("É um Menu: id %d", _:value);
- case tagof(tag3):
- printf("É um valor comum: %d", value);
- }
- }
Add Comment
Please, Sign In to add comment