PDA

View Full Version : Betting on real matches in samp(for fun)


GospodinX
12/07/2018, 12:38 PM
Hi guys

I want to make betting in samp for fun(With IG money etc).I want to give players possibility to bet on real matches.My question,is there any way to get real odds?(in my database) (From any bet site etc) I don't want to add it manual every time,it's big job.

I also need result automatic on end of match etc..Is it possible to do in samp or ? Maybe someone have ideas...

Thanks

(sorry for english)

JasonRiggs
12/07/2018, 02:00 PM
The only way to retrieve information from a website to pawn is a_http, with the function "HTTP" I'm not sure if it can help you retrieving such info or not..

JasonRiggs
12/07/2018, 02:14 PM
Southclaw;4036140']pawn-requests (http://forum.sa-mp.com/showthread.php?t=653362) can do that with HTTPS support (pretty standard now) with additional functions for accessing the JSON data that most APIs use.

There are plenty of APIs out there, especially for sports and esports.

also Pawno is a text editor, Pawn is the language :)

Pretty good, But can this get us a value of the result of two teams for example from ****** results..

And yes, miss-added the "o" I know the part of which is the language and which is the editor.