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



Help Me Pawn 5 Error - gio200125 - 13.04.2016

C:\Users\GIO\Desktop\EDRP Realy Scripted With Errors\gamemodes\RolePlay.pwn(28464) : error 017: undefined symbol "bonus"
C:\Users\GIO\Desktop\EDRP Realy Scripted With Errors\gamemodes\RolePlay.pwn(32581) : error 029: invalid expression, assumed zero
C:\Users\GIO\Desktop\EDRP Realy Scripted With Errors\gamemodes\RolePlay.pwn(32581) : warning 215: expression has no effect
C:\Users\GIO\Desktop\EDRP Realy Scripted With Errors\gamemodes\RolePlay.pwn(32581) : error 001: expected token: ";", but found "if"
C:\Users\GIO\Desktop\EDRP Realy Scripted With Errors\gamemodes\RolePlay.pwn(32581) : error 017: undefined symbol "pickupid"
C:\Users\GIO\Desktop\EDRP Realy Scripted With Errors\gamemodes\RolePlay.pwn(32581) : fatal error 107: too many error messages on one line

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


5 Errors.


Re: Help Me Pawn 5 Error - gio200125 - 13.04.2016

28464-----------bonus = CreatePickup(1276,200,1763.5825,-1886.2942,13.5547); //BONUS
32581-----------else if(pickupid == bonus)


Re: Help Me Pawn 5 Error - gio200125 - 13.04.2016

28464-----------bonus = CreatePickup(1276,200,1763.5825,-1886.2942,13.5547); //BONUS
32581-----------else if(pickupid == bonus)
Bonus SCript File


Re: Help Me Pawn 5 Error - iiNzTicTx - 13.04.2016

new bonus; => this outside of all functions, at top of script.

bonus = CreatePickup... -> same as it is

Haven't looked at your downloadable file. Please use pastebin.com or post it in if errors persist.


Re: Help Me Pawn 5 Error - gio200125 - 13.04.2016

Bonus Link Working

Thanks.