Burgershot
  • Home
  • Members
  • Team
  • Help
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Burgershot General Programming Is it possible to make web server using pawn?

 
  • 0 Vote(s) - 0 Average
Is it possible to make web server using pawn?
xTunqki
Offline

Burgershot Member
Posts: 3
Threads: 2
Joined: Apr 2020
Reputation: 0
Location: Indonesia
#1
2020-04-17, 11:28 AM
I think pawn is simple scripting language, does it possible to make web server or game using it?
Y_Less
Offline

Administrator

Posts: 323
Threads: 16
Joined: Feb 2019
Reputation: 90
#2
2020-04-18, 11:12 AM
Yes, but you'd have to write all the API and server yourself first. There are a few other pawn-using projects you might want to get inspiration from here:

https://www.compuphase.com/pawn/pawn.htm
AmirSavand
Offline

Burgershot Member
Posts: 6
Threads: 1
Joined: Apr 2019
Reputation: 0
Location: Moscow, Russia
#3
2020-07-17, 09:44 AM
Pawn is not a simple language, you're just used to it.

It is possible to serve an HTTP server for SA-MP, I've seen some plugins, but I don't recommend this.
Website GitHub
Sweet
Offline

Burgershot Member
Posts: 14
Threads: 2
Joined: Jan 2021
Reputation: 0
Location: Kenya
#4
2021-01-03, 12:57 PM
yes it is possible but i should say just embed it in another language like C++ so that you can save a lot of time..like yeah gta sa multiplayer uses pawn..so yeah you can make games with it.
luka_matkic
Offline

Burgershot Member
Posts: 3
Threads: 0
Joined: Apr 2021
Reputation: 0
Location: Croatia
#5
2021-04-18, 09:47 PM (This post was last modified: 2021-04-18, 09:50 PM by luka_matkic.)
(2020-07-17, 09:44 AM)AmirSavand Wrote: Pawn is not a simple language, you're just used to it.



It is possible to serve an HTTP server for SA-MP, I've seen some plugins, but I don't recommend this.


I know this thread is old but maybe someone finds my reply helpfull in future...

Your "best bet" is not trying to use SA:MP server as HTTP server too... Let samp server handle only the game...
If you save all your data in MySql database, you can create web server application in any language and/or any framework you choose.
It is faster to write code for http servers in C#, PHP, Java, Node.js...
Just search for tut videos on youtube and you will be creating samp web panels i no time :D

One day, when your community grows, you have more flexibile design...
You can split samp server, mysql database and web server on separate machines (or VM-s) to ensure top performance.

Hope this helps someone :)

(2021-01-03, 12:57 PM)Sweet Wrote: yes it is possible but i should say just embed it in another language like C++ so that you can save a lot of time..like yeah gta sa multiplayer uses pawn..so yeah you can make games with it.

And yeah... Thats totally what I meant but without wasting your time...
« 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