SA-MP Forums Archive
Help Me - 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 Me (/showthread.php?tid=618498)



Help Me - ongnung147 - 06.10.2016

Код HTML:
D:\gym\pawno\load.pwn(234) : error 008: must be a constant expression; assumed zero
D:\gym\pawno\load.pwn(234) : error 001: expected token: "*then", but found "return"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Код HTML:
if(dialogid == 1)
	{
		if{!response)	return true;
	    if(GruzRab[playerid] ==  0)
	    {
  			GruzRab[playerid] = 1;
  		 	SetPlayerSkin(playerid, 260);
  			SetPlayerCheckpoint(playerid, 1766.8206, -1906.7565, 13.5683, 1.2);
  			SendClientMessage(playerid, 0x80FF00FF, "Ban co muon lam cong viec nay!");
 			SendClientMessage(playerid, 0xFF8000FF, "dung gan noi nhan cong viec!");
  			return  true;



Re: Help Me - Mencent - 06.10.2016

Hello.

PHP код:
if{!response)    return true
to
PHP код:
if(!response)    return true