strlen trouble. help please. - 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: strlen trouble. help please. (
/showthread.php?tid=330592)
strlen trouble. help please. -
introzen - 01.04.2012
resolved.
Respuesta: strlen trouble. help please. -
Chris1337 - 01.04.2012
Edited - Resolved
Re: strlen trouble. help please. -
Tee - 01.04.2012
Explain what you want to do.
Re: strlen trouble. help please. -
WooTFTW - 01.04.2012
You cannot have dynamic array sizes in pawn.
pawn Код:
stock scramble(string[])
{
new ssize = strlen(string);
new used[128];
Edit the size by yourself.
Re: strlen trouble. help please. -
Jonny5 - 01.04.2012
pawn Код:
stock scramble(const string[])
{
new ssize = strlen(string);
new used[ssize];
}
try that