SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Plugin Development

Reply
 
Thread Tools Display Modes
Old 28/05/2018, 02:33 PM   #31
BigETI
Gangsta
 
BigETI's Avatar
 
Join Date: Mar 2010
Location: Germany
Posts: 997
Reputation: 298
Default Re: PAWN memory access plugin

Quote:
Originally Posted by Kaperstone View Post
[...] Can I save enums [...] ?
What do mean by that? A PAWN enumerator is a list of integers. If you are looking for structuring data, you can use MEM_struct, which is literally a PAWN enumerator with its tag disabled.
Definition: https://github.com/BigETI/pawn-memor.../memory.inc#L9
Example: https://github.com/BigETI/pawn-map/b...de/map.inc#L14

Quote:
Originally Posted by Kaperstone View Post
[...] Can I save [...] multi dimensional arrays?
If you know how to map a multi dimensional array to a contiguous memory block, then yes.
Either with MEM_new, MEM_new_zero, MEM_new_arr or MEM_clone.
BigETI is offline   Reply With Quote
Old 16/08/2018, 08:21 AM   #32
BigETI
Gangsta
 
BigETI's Avatar
 
Join Date: Mar 2010
Location: Germany
Posts: 997
Reputation: 298
Default Re: PAWN memory access plugin

I just want to announce a bug fix update for pawn-memory. Anyone who uses sampctl should be covered with the latest version, if there is no tag or tag 2.0.1 specified in pawn.json for pawn-memory.
BigETI is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Plugin] Memory access plugin BigETI Plugin Development 54 23/11/2017 03:23 PM
Invalid Memory access Dayrion Scripting Help 11 08/08/2016 06:35 PM
How much random access memory Manowar Scripting Help 5 05/03/2013 07:47 AM
Invalid memory access Littl3j0hNy Scripting Help 5 03/12/2011 03:51 PM
Invalid memory access wouter0100 Scripting Help 4 17/09/2011 11:28 PM


All times are GMT. The time now is 12:50 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.