(Not tested, report bug's or details)
Edit it as you see fit! (Of course, if it is not a very advanced code for you)
(You need SAMPFUNCS and SA-MP R1, I saw you use the required so I didn't need to ask)
{$CLEO .cs}
0000:
while 8AFA:
wait 0
end
0AC8: 30@ = allocate_memory_size 260 //...