amxxpc crashes when using tagof
Code:
|
Re: amxxpc crashes when using tagof
i didn`t really get your problem. explain more
and this part of code isn`t enough to help. |
Re: amxxpc crashes when using tagof
amxxpc crashes? what?
|
Re: amxxpc crashes when using tagof
The compiler crash when using if( tagType == tagof(Int:) )
|
Re: amxxpc crashes when using tagof
Don't try to imitate C#, Java or whatever language it is. That dot notation doesn't work in Pawn, your code has many more problems than just tagof. And integers aren't tagget with Int and strings aren't tagged with String.
|
Re: amxxpc crashes when using tagof
Quote:
I'm using this Code:
String: and Int: Is just to make the difference, I didn't found a way to override a function so I used this way ... |
Re: amxxpc crashes when using tagof
Unless you tag a symbol yourself, that symbol's tag is _:. There's no difference between integer arrays and strings and you can't override that way. Just use separate functions named accordingly, don't override. Pawn is like C in many aspects (it was called Small C at first).
|
Re: amxxpc crashes when using tagof
Use amxx 1.8.3 compiler.
Or use hack like this: Code:
Hehe, this is interesting idea! We can make safe set_pev now. |
Re: amxxpc crashes when using tagof
Quote:
|
| All times are GMT -4. The time now is 23:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.