This site has been archived and made available for preservation purposes. No edits can be made.
-
Senior Member
PAWN compiler
Hello, can the old version of PAWN be compatible towards scripting stuff, I'm not familiar with the new version of pawn, { 128 } is ment to be a string size :O ?
Thanks, what I mean by the old version of PAWN is the one before the major update.
A gaming community ran by one person, with servers made by individuals (in this case, me, myself)
I plan to look for a trusted person who will help me create a decent roleplay/deathmatch server on Vault-TEC,
PM me if you're interested
-
Senior Member
Re: PAWN compiler
The current version is 64 bits, the other old one is 32, this is why I'm saying this. I perfer 32 over 64 :L
Bump
A gaming community ran by one person, with servers made by individuals (in this case, me, myself)
I plan to look for a trusted person who will help me create a decent roleplay/deathmatch server on Vault-TEC,
PM me if you're interested
-
Re: PAWN compiler
No it's not backward compatible (but it shouldn't be too hard to recompile and change a few things). There is a compile.bat file which comes with the revision 145 package which you can use to compile your PAWN scripts. The curly braces now relate to packed strings:
You can (and should) use this syntax instead of
Due to the PAWN cell size now being 64bit, this would mean an insane amount of wasted memory (8 byte per 1 byte char). Use packed strings shown above to store 128 characters efficiently The reason I switched to 64bit cell size is that game object IDs are 64bit long.
-
Senior Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules