SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 13/04/2016, 10:33 AM   #1
gio200125
Little Clucker
 
Join Date: Apr 2016
Posts: 9
Reputation: 0
Question Help Me Pawn 5 Error

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 is offline   Reply With Quote
Old 13/04/2016, 10:36 AM   #2
gio200125
Little Clucker
 
Join Date: Apr 2016
Posts: 9
Reputation: 0
Default Re: Help Me Pawn 5 Error

28464-----------bonus = CreatePickup(1276,200,1763.5825,-1886.2942,13.5547); //BONUS
32581-----------else if(pickupid == bonus)
gio200125 is offline   Reply With Quote
Old 13/04/2016, 10:38 AM   #3
gio200125
Little Clucker
 
Join Date: Apr 2016
Posts: 9
Reputation: 0
Question Re: Help Me Pawn 5 Error

28464-----------bonus = CreatePickup(1276,200,1763.5825,-1886.2942,13.5547); //BONUS
32581-----------else if(pickupid == bonus)
Bonus SCript File
gio200125 is offline   Reply With Quote
Old 13/04/2016, 11:35 AM   #4
iiNzTicTx
Big Clucker
 
Join Date: Jan 2012
Posts: 77
Reputation: 11
Default Re: Help Me Pawn 5 Error

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.
iiNzTicTx is offline   Reply With Quote
Old 13/04/2016, 01:28 PM   #5
gio200125
Little Clucker
 
Join Date: Apr 2016
Posts: 9
Reputation: 0
Default Re: Help Me Pawn 5 Error

Bonus Link Working

Thanks.
gio200125 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
fatal error 111: user error: sscanf (possibly the PAWN version) already defined? minijackc Scripting Help 2 15/01/2013 04:17 AM
Pawn Error Antonioh Scripting Help 3 09/01/2013 09:37 PM
Pawn error (225) Unreachable Code error , Please help! nateykurgan Scripting Help 4 26/11/2011 10:11 AM
Trafipax error, crash te pawn, Dialog error? Finging Help Archive 1 21/06/2011 10:21 AM
OFG! AN ERROR! (NOT PAWN BUT WINDOWS ERROR ) [WSF]ThA_Devil Help Archive 4 29/11/2010 02:31 PM


All times are GMT. The time now is 05:31 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.