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



Errors - Chris_Morrison - 15.10.2011

How i fix it?
pawn Код:
case 40:[pInfo] [playerid][pGun12] = 40; GivePlayerWeapon(playerid, 40, 1);
pawn Код:
C:\Documents and Settings\Administrator.WINXPSP3\щемзп дтбегд\windows\gamemodes\GRP.pwn(963) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator.WINXPSP3\щемзп дтбегд\windows\gamemodes\GRP.pwn(963) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator.WINXPSP3\щемзп дтбегд\windows\gamemodes\GRP.pwn(963) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator.WINXPSP3\щемзп дтбегд\windows\gamemodes\GRP.pwn(963) : fatal error 107: too many error messages on one line



Re: Errors - [MWR]Blood - 15.10.2011

pawn Код:
case 40:pInfo[playerid][pGun12] = 40; GivePlayerWeapon(playerid, 40, 1);



Re: Errors - Chris_Morrison - 15.10.2011

still have errors
pawn Код:
C:\Documents and Settings\Administrator.WINXPSP3\щемзп дтбегд\windows\gamemodes\GRP.pwn(963) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator.WINXPSP3\щемзп дтбегд\windows\gamemodes\GRP.pwn(963) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator.WINXPSP3\щемзп дтбегд\windows\gamemodes\GRP.pwn(963) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator.WINXPSP3\щемзп дтбегд\windows\gamemodes\GRP.pwn(963) : fatal error 107: too many error messages on one line



Re: Errors - Stigg - 15.10.2011

Try:
pawn Код:
case 40:pInfo[playerid][pGun12] = 40, GivePlayerWeapon(playerid, 40, 1);



Re: Errors - Chris_Morrison - 15.10.2011

Quote:
Originally Posted by Stigg
Посмотреть сообщение
Try:
pawn Код:
case 40:pInfo[playerid][pGun12] = 40, GivePlayerWeapon(playerid, 40, 1);
I fixed it before Nevermind thank you both