Burgershot
  • Home
  • Members
  • Team
  • Help
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Burgershot SA-MP Pawn Scripting [Pawn] Errors with YSI

Thread Closed 
 
  • 0 Vote(s) - 0 Average
Pawn Errors with YSI
Filiq_
Offline

Burgershot Member
Posts: 5
Threads: 1
Joined: May 2019
Reputation: 0
Location: România
#1
2019-05-05, 03:40 AM
I have that errors at YSI http://prntscr.com/nkjijp

I use https://github.com/pawn-lang/compiler/releases  3.10.7 I tried any version of compiler and it s same, i tried latest YSI version and i recevied more warnings and errors.


Sry for my english
Southclaws
Offline

Administrator

Posts: 71
Threads: 13
Joined: Feb 2019
Reputation: 15
#2
2019-05-05, 08:59 AM
Your standard library is likely outdated, what version of SA:MP are you targeting? These errors are often indicative of using YSI targeting 0.3.7+ but with SA:MP includes from an earlier version where some functions changed signature.
Filiq_
Offline

Burgershot Member
Posts: 5
Threads: 1
Joined: May 2019
Reputation: 0
Location: România
#3
2019-05-05, 04:41 PM
(2019-05-05, 08:59 AM)Southclaws Wrote: Your standard library is likely outdated, what version of SA:MP are you targeting? These errors are often indicative of using YSI targeting 0.3.7+ but with SA:MP includes from an earlier version where some functions changed signature.

oh man, ty i didnt think about that.
JustMichael
Offline

Forum Manager

Posts: 189
Threads: 3
Joined: Feb 2019
Reputation: 17
Location: England
#4
2019-05-06, 11:49 PM
Also avoid using the community compiler 3.10.7, it has an issue with textdraw tabbing.
Remember to always refer to J0sh as `J0sh...`

@ Networks/Servers
San Andreas Gaming Network (Owner/Founder)
San Andreas Gaming (Owner/Founder)
Grand Theft Cop's n Robber's (Owner)
Britannia Roleplay (Owner/Founder)
Alpine RP (Owner/Founder)
Aluminium Network (Maintainer)
AlphaDM (Tech Support)

# Services
Burgershot.gg (Forum Manager)
open.mp (Member)

~ Languages/Frameworks
Pawn, C, C++, C#, Javascript, Typescript, Lua, Python, Go, Rust, PHP, SQL,
Angular, React, Vue, Svelte, Laravel, Rocket
Y_Less
Offline

Administrator

Posts: 323
Threads: 16
Joined: Feb 2019
Reputation: 90
#5
2019-05-07, 02:12 PM
If you are on YSI 4, use compiler 3.10.8, 3.10.9 reintroduced const-correctness warnings, whose fixes have not yet been back-ported.
« Next Oldest | Next Newest »



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Burgershot - Powered by our Community and MyBB Original Theme by Emerald

Linear Mode
Threaded Mode