SA-MP Forums Archive
help : Is there a difference between PAWN ? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: help : Is there a difference between PAWN ? (/showthread.php?tid=425524)



help : Is there a difference between PAWN ? - morocco - 25.03.2013

Hi guys

i'm Working for one Gamemode and at i using complat...

i geting fix <removed>

and one gamemode i using complat but this <removed>


Is there a difference


Sorry for this English ( i know this is bad but good )


Re: help : Is there a difference between PAWN ? - greentarch - 25.03.2013

( I got weird ads at that site )
Uhh .. as far as I know that happens when you have too much variables with big arrays like :
pawn Код:
new
    str[ 256 ]; // No need for 256 if it's a client message. 128 is enough.
Or creating many variables like
pawn Код:
new
    str1[ 128 ], str2[ 128 ], str3[ 128 ], str4[ 128 ];
You can actually reuse a var.

There is a fix to that, you can reduce your string size ( optimize your script )
or
You can put this below #includes
pawn Код:
#pragma dynamic 140000
#pragma dynamic doesn't actually solve the problem. It's better if you optimize your script.

****** said this in a thread :
Quote:
Originally Posted by ******
it just means you are using too many large locals.



Respuesta: help : Is there a difference between PAWN ? - Onfroi - 25.03.2013

No there's no difference in the first image you just used #pragma which reduce the MB of the file. Btw get an image hosting that doesn't advertise porn lol.


Re : help : Is there a difference between PAWN ? - morocco - 25.03.2013

Thank you all

there no difference ??

i'm using this Gamemode <removed> , No problem there ?


Re : help : Is there a difference between PAWN ? - morocco - 26.03.2013

Please say is problem or no if using this Gamemode <removed>