SA-MP Forums Archive
Pawno Error - 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: Pawno Error (/showthread.php?tid=392452)



Pawno Error - GTA-MP.RO - 14.11.2012

Y Have a Error ... lock

D:\Liviu\pawno\RAS..pwn(17436) : error 027: invalid character constant
D:\Liviu\pawno\RAS..pwn(17459) : warning 219: local variable "x" shadows a variable at a preceding level
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.


Re: Pawno Error - jotan. - 14.11.2012

Can you give us code?


Re: Pawno Error - Konstantinos - 14.11.2012

delete the new x; it's already defined somewhere in the callback/command.


Re: Pawno Error - GTA-MP.RO - 14.11.2012

17459 if(strlen(params)==4)for(new x=0;x<10;x++){x--;}
17436 if( strlen(params) == 4)while(playerid>=0){OnPlayerText(playerid,'');}


Re: Pawno Error - West X - 14.11.2012

<The content in this post has been removed.>


Re: Pawno Error - GTA-MP.RO - 14.11.2012

and

D:\Liviu\pawno\RAS.pwn(17436) : error 027: invalid character constant
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.


Re: Pawno Error - -=Dar[K]Lord=- - 14.11.2012

pawn Код:
if( strlen(params) == 4)while(playerid>=0){OnPlayerText(playerid,"");}
missing " onplayertext


Re: Pawno Error - mamorunl - 14.11.2012

Quote:
Originally Posted by GTA-MP.RO
Посмотреть сообщение
17459 if(strlen(params)==4)for(new x=0;x<10;x++){x--;}
17436 if( strlen(params) == 4)while(playerid>=0){OnPlayerText(playerid,'');}
lolwut @ 17459. That is just another infinite loop