SA-MP Forums Archive
What is tmp? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: What is tmp? (/showthread.php?tid=126314)



What is tmp? - Torran - 07.02.2010

pawn Код:
new tmp[30];
Getting some errors bout it, Can someone explain to me it?

Someone explain the tmp
And the [30]


Re: What is tmp? - mansonh - 07.02.2010

tmp is a string of length 30.
it can also be treated as an array.


Re: What is tmp? - Torran - 07.02.2010

And what could i do to

new tmp[30];

to fix this:

Код:
error 047: array sizes do not match, or destination array is too small



Re: What is tmp? - Mikep. - 07.02.2010

Use [256], or stop using strtok().


Re: What is tmp? - Torran - 07.02.2010

Thankyou