06.02.2012, 15:53
Slice wrote a "memset" function using the p-code "FILL" OpCode:
http://forum.sa-mp.com/showthread.ph...et#post1606781
But ultimately this still uses a loop internally (though a C loop so it should be faster). You can modify this to take a reference to "data[0][0]" and "len1 * len2" as the size.
http://forum.sa-mp.com/showthread.ph...et#post1606781
But ultimately this still uses a loop internally (though a C loop so it should be faster). You can modify this to take a reference to "data[0][0]" and "len1 * len2" as the size.