[Include] Teleports.inc - Easily create teleports with 1 line!
#5

Quote:
Originally Posted by $$inSane
Посмотреть сообщение
pawn Код:
new  
    s_Teleports[ S_MAX_TELEPORTS ][ S_TEL_DATA ],
    s_count = 0
;
Use static instead of new!
Looked it up, edited the code and made a few additions for version 2.

Thanks for informing me!

EDIT: can't really make the s_Teleports array static as it fucks up with the macros, when I try to do this:

PHP код:
stock GetTeleportNametelid )
{
    return 
s_Teleportstelid ][ NAME ];

it gives me only the first letter of the name for some reason... when I use the macro it works fine.

if anyone knows what's wrong with that, please inform me so I can update it.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)