SA-MP Forums Archive
4 Erros - 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: 4 Erros (/showthread.php?tid=424982)



4 Erros - Nivniv2 - 24.03.2013

Код:
	if(slot < 0 || slot > 5) return SendClientMessageEx(playerid, COLOR_WHITE, "* Invalid slot, must be between 0 and 5");
		if( (object > 335 && object < 335) || (object > 339 && object < 339) || (object > 346 && object < 346) ||
				(object > 347 && object < 347) || (object > 348 && object < 348) || (object > 349 && object < 349) || (object > 351 && object < 351) ||
				(object && 352 || object && 352) || (object > 353 && object < 353)  || (object > 356 && object < 356) || (object > 358 && object < 358)
            {
			if (IsPlayerConnected(giveplayerid))

Код:
C:\Users\user\Desktop\LRP\gamemodes\LRP.pwn(48264) : error 029: invalid expression, assumed zero
C:\Users\user\Desktop\LRP\gamemodes\LRP.pwn(48272) : warning 202: number of arguments does not match definition
C:\Users\user\Desktop\LRP\gamemodes\LRP.pwn(48272) : warning 202: number of arguments does not match definition
C:\Users\user\Desktop\LRP\gamemodes\LRP.pwn(48272) : warning 202: number of arguments does not match definition
C:\Users\user\Desktop\LRP\gamemodes\LRP.pwn(48272) : warning 202: number of arguments does not match definition
C:\Users\user\Desktop\LRP\gamemodes\LRP.pwn(48272) : warning 202: number of arguments does not match definition

Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


6 Errors.