SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 18/06/2019, 06:51 PM   #1
Cookland
Gangsta
 
Cookland's Avatar
 
Join Date: Mar 2014
Posts: 882
Reputation: 84
Thumbs up Error help (Advanced possibly?)

C:\Users\AlexC\Desktop\myownscript - Copy\gamemodes\h_script.pwn(27) : warning 207: unknown #pragma
C:\Users\AlexC\Desktop\myownscript - Copy\gamemodes\h_script.pwn(27) : error 038: extra characters on line
h_functions.pwn(2143) : error 075: input line too long (after substitutions)
h_functions.pwn(2144) : error 037: invalid string (possibly non-terminated string)
h_functions.pwn(2144) : error 017: undefined symbol "UPDATE"
h_functions.pwn(2144) : error 017: undefined symbol "h_players"
h_functions.pwn(2144) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


6 Errors.

Quote:
C:\Users\AlexC\Desktop\myownscript - Copy\gamemodes\h_script.pwn(27) : warning 207: unknown #pragma
Code:
#pragma warning disable 238
.
.
.
Quote:
C:\Users\AlexC\Desktop\myownscript - Copy\gamemodes\h_script.pwn(27) : error 038: extra characters on line
Code:
#pragma warning disable 238
.
.
.
Quote:
h_functions.pwn(2144) : error 037: invalid string (possibly non-terminated string)
h_functions.pwn(2144) : error 017: undefined symbol "UPDATE"
h_functions.pwn(2144) : error 017: undefined symbol "h_players"
h_functions.pwn(2144) : fatal error 107: too many error messages on one line
Code:
format(query, sizeof(query), "UPDATE h_players SET Gender = %i, GeneralLic = %i, MotorbikeLic = %i, CommercialLic = %i, WeaponLic = %i, Addiction = %i, JailTime = %i, JailType = %i, BadgeNumber = %i, BloodType = %i, JobPaycheck = %i, PrimaryBankAccountID = %i, PaycheckTime = %i, DeadTime = %i, HelmetProtection = %i, VestProtection = %i, Donator = %i, Owner = %i, StaffName = '%q', Ajail = %i, StaffDuty = %i, StaffHide = %i, LastActivity = '%q', LastLogin = '%q', FactionRankName = '%q', Money = %i, Capacity = %i, ConstRenter = %i, Phone = %i, State = %i WHERE ID = %i",
Cookland is offline   Reply With Quote
Old 18/06/2019, 06:59 PM   #2
1sbedx
Huge Clucker
 
Join Date: Dec 2015
Posts: 249
Reputation: 38
Default Re: Error help (Advanced possibly?)

https://github.com/pawn-lang/compiler/releases
__________________
Estou desenvolvendo por dinheiro, qualquer dúvida entre em contato para negociação.
1sbedx is offline   Reply With Quote
Old 18/06/2019, 07:05 PM   #3
Cookland
Gangsta
 
Cookland's Avatar
 
Join Date: Mar 2014
Posts: 882
Reputation: 84
Default Re: Error help (Advanced possibly?)

Quote:
Originally Posted by 1sbedx View Post
Which one should I download?
Cookland is offline   Reply With Quote
Old 18/06/2019, 07:13 PM   #4
1sbedx
Huge Clucker
 
Join Date: Dec 2015
Posts: 249
Reputation: 38
Default Re: Error help (Advanced possibly?)

Quote:
Originally Posted by Cookland View Post
Which one should I download?
https://github.com/pawn-lang/compile....9-windows.zip
__________________
Estou desenvolvendo por dinheiro, qualquer dúvida entre em contato para negociação.
1sbedx is offline   Reply With Quote
Old 19/06/2019, 04:45 AM   #5
Cookland
Gangsta
 
Cookland's Avatar
 
Join Date: Mar 2014
Posts: 882
Reputation: 84
Default Re: Error help (Advanced possibly?)

It gives the exact same errors no matter which compiler I use.
Cookland is offline   Reply With Quote
Old 22/06/2019, 01:24 PM   #6
Cookland
Gangsta
 
Cookland's Avatar
 
Join Date: Mar 2014
Posts: 882
Reputation: 84
Default Re: Error help (Advanced possibly?)

Anybody else have any suggestions? I've got the exact same errors again.
Cookland is offline   Reply With Quote
Old 22/06/2019, 01:41 PM   #7
1sbedx
Huge Clucker
 
Join Date: Dec 2015
Posts: 249
Reputation: 38
Default Re: Error help (Advanced possibly?)

Try this: https://forum.sa-mp.com/showthread.php?p=2768123
__________________
Estou desenvolvendo por dinheiro, qualquer dúvida entre em contato para negociação.
1sbedx is offline   Reply With Quote
Old 22/06/2019, 01:50 PM   #8
Plastikmensch
Huge Clucker
 
Join Date: Aug 2016
Posts: 240
Reputation: 13
Default Re: Error help (Advanced possibly?)

Warning 238 is "mixing string formats in concatenation", is that the one you want to disable?
And the others are simply that the line is too long. Pawn has issues with long lines for some reason.
Try splitting in multiple line with the escape character.
Like this:
Code:
"This is a super long line with completely random text, \
split in different lines so pawn doesn't show the \"input line too long\" \
error, because pawn can't handle long lines for some reason"
Plastikmensch 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
Advanced settings Error Tasous Client Support 0 01/10/2015 05:34 PM
fatal error 111: user error: sscanf (possibly the PAWN version) already defined? minijackc Scripting Help 2 15/01/2013 04:17 AM
Strange Error - Possibly SSCANF/ZCMD related Rob_Maate Scripting Help 8 07/01/2012 09:51 AM
Error : possibly unintended assignment wumpyc Scripting Help 3 17/10/2011 05:04 PM
[HELP] Map error possibly? EPiC_LOG Help Archive 2 18/02/2010 05:31 PM


All times are GMT. The time now is 07:38 PM.


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