SA-MP Forums Archive
SA:MP php - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: General (https://sampforum.blast.hk/forumdisplay.php?fid=13)
+--- Thread: SA:MP php (/showthread.php?tid=622010)



SA:MP php - TwinkiDaBoss - 17.11.2016

Alright so recently I've stumbled upon something quite old but I wonder if its still useful, has anyone tried using this recently?
https://sampforum.blast.hk/showthread.php?tid=442302

I really want to start using something like this but I wonder would it even work after 3 years. I dont see any commits or anything recent on the github either (latest commit was in 2014)
https://github.com/Lapayo/SAMPHP

Im highly experienced in PHP and I love doing to honestly, way more than the Pawn itself so yeah TLR anyone used it recently and is it even useable?


Re: SA:MP php - SickAttack - 17.11.2016

I don't know how you find PAWN harder, it's like English + common sense + logic.

Well, if it is all hardcoded, then obviously you won't have 0.3.7's features.


Re: SA:MP php - TwinkiDaBoss - 17.11.2016

Quote:
Originally Posted by SickAttack
Посмотреть сообщение
I don't know how you find PAWN harder, it's like English + common sense + logic.

Well, if it is all hardcoded, then obviously you won't have 0.3.7's features.
I agree that samp is way easier than most of scripting languages etc its just I do php everyday for 5-8hours a day and then I switch to pawn to do some samp scripting and i constantly use wrong syntaxes etc, all in all I preffer PHP since its just something Im used to


Re: SA:MP php - SickAttack - 17.11.2016

Alright. So just check if its hardcoded, see if you can execute the latest features.


Re: SA:MP php - TwinkiDaBoss - 17.11.2016

Oh no need, just saw Gwmpt posted few days ago he will continue the development for it. Sexy


Re: SA:MP php - Sithis - 18.11.2016

PHP is unsuitable for SA:MP in my opinion. It is far more beneficial to use an OOP language such as C# for SA:MP, such as SampSharp (http://sampsharp.timpotze.nl).


Re: SA:MP php - TwinkiDaBoss - 19.11.2016

I agree that SA:MP sharp is better its just I dont really know too much of C# in the first place.


Re: SA:MP php - BlackBank - 19.11.2016

Quote:
Originally Posted by SickAttack
Посмотреть сообщение
Alright. So just check if its hardcoded, see if you can execute the latest features.
It's, sadly...

Quote:
Originally Posted by Sithis
Посмотреть сообщение
PHP is unsuitable for SA:MP in my opinion. It is far more beneficial to use an OOP language such as C# for SA:MP, such as SampSharp (http://sampsharp.timpotze.nl).
It all depends on how you write your code in PHP and which version you use. If you work with a lot of data, i prefer more PHP then C#, because it easier to manage them and read them.