SA-MP Forums Archive
help with errors - 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 with errors (/showthread.php?tid=453790)



help with errors - Deividasltu - 26.07.2013

Hello everyone I would like to ask how to fix the mistake so stupid I can not find any way

error:
Код:
error 001: expected token: ";", but found "-identifier-"
line:
Код:
strcat( str,  "work\nPd\nMP\n" );



Re: help with errors - PrinceKumar - 26.07.2013

post there the codes above it cause there is no error i think error is before this code


Re: help with errors - Deividasltu - 26.07.2013

Quote:
Originally Posted by PrinceKumar
Посмотреть сообщение
post there the codes above it cause there is no error i think error is before this code
Код:
command(work, playerid, params[])
{
	#pragma unused params
	new
    str[ 2000 ]



Re: help with errors - Jessyy - 26.07.2013

Wrong:
Код:
new str[ 2000 ]
Correct:
Код:
new str[ 2000 ];



Re : help with errors - AmirRFCNR - 26.07.2013

PHP код:
command(workplayeridparams[])
{
    
#pragma unused params
    
new str2000 ]; 
try this ..


Re: help with errors - Deividasltu - 26.07.2013

Thanks