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



CreatePickup Help Me - Ale1234 - 05.04.2015

Код:
//Markets
	for(new i=0; i<sizeof(bInfo); i++)
	{
	    CreatePickup(1242,1,,bInfo[i][b_x], bInfo[i][b_y], bInfo[i][b_z],-1);
	}
	return 1;
}
Errors

......\gamemodes\PCRP.pwn(73) : error 029: invalid expression, assumed zero
....\gamemodes\PCRP.pwn(73) : warning 215: expression has no effectr\gamemodes\PCRP.pwn(73) : warning 215: expression has no effect
.....\gamemodes\PCRP.pwn(73) : warning 215: expression has no effect
.....\gamemodes\PCRP.pwn(73) : warning 215: expression has no effect
....\gamemodes\PCRP.pwn(73) : error 001: expected token: ";", but found ")"
....\gamemodes\PCRP.pwn(73) : error 029: invalid expression, assumed zero
......\gamemodes\PCRP.pwn(73) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.


Re: CreatePickup Help Me - CalvinC - 05.04.2015

You have 2 commas.
Код:
CreatePickup(1242,1,,bInfo[i][b_x], bInfo[i][b_y], bInfo[i][b_z],-1);