PDA

View Full Version : Help Me Pawn 5 Error


gio200125
13/04/2016, 10:33 AM
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 (c) 1997-2006, ITB CompuPhase


5 Errors.

gio200125
13/04/2016, 10:36 AM
28464-----------bonus = CreatePickup(1276,200,1763.5825,-1886.2942,13.5547); //BONUS
32581-----------else if(pickupid == bonus)

gio200125
13/04/2016, 10:38 AM
28464-----------bonus = CreatePickup(1276,200,1763.5825,-1886.2942,13.5547); //BONUS
32581-----------else if(pickupid == bonus)
Bonus SCript File (http://http://bin.ge/dl/212157/Bonus.rar.html)

iiNzTicTx
13/04/2016, 11:35 AM
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.

gio200125
13/04/2016, 01:28 PM
Bonus Link Working (http://bin.ge/dl/212157/Bonus.rar.html)

Thanks.