SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Plugin Development

Reply
 
Thread Tools Display Modes
Old 02/07/2015, 02:25 PM   #11
LMaxCo
Big Clucker
 
Join Date: Dec 2014
Location: Indonesia
Posts: 153
Reputation: 11
Default Re: samp.js - JavaScript for SA-MP

Thats cool dude
LMaxCo is offline   Reply With Quote
Old 02/07/2015, 03:32 PM   #12
Maximun
Huge Clucker
 
Join Date: Jan 2014
Location: Localhost
Posts: 443
Reputation: 54
Default Re: samp.js - JavaScript for SA-MP

Cool!
Maximun is offline   Reply With Quote
Old 02/07/2015, 07:49 PM   #13
lukewid
Little Clucker
 
Join Date: Mar 2015
Posts: 34
Reputation: 0
Default Re: samp.js - JavaScript for SA-MP

I'm happy to see this here!

Congratz!
lukewid is offline   Reply With Quote
Old 02/07/2015, 08:05 PM   #14
FSAOskar
Big Clucker
 
Join Date: Feb 2015
Location: Germany
Posts: 67
Reputation: 22
Default AW: samp.js - JavaScript for SA-MP

One question, is it possible to make something like live scripting ?
I mean as soon as you save the script, all changes get applied to the running server and you don't have to reload the script ?
FSAOskar is offline   Reply With Quote
Old 02/07/2015, 09:04 PM   #15
Abagail
High-roller
 
Join Date: Dec 2013
Location: GetPlayerPos(playerid, pos); Scripter/Mapper.
Posts: 3,142
Reputation: 445
Default Re: samp.js - JavaScript for SA-MP

This isn't MTA, I don't think you can actively restart the gamemode without having players reconnect. And a scripting language doesn't really change that.
Abagail is offline   Reply With Quote
Old 02/07/2015, 09:07 PM   #16
PT
Godfather
 
PT's Avatar
 
Join Date: Nov 2012
Location: Europe
Posts: 7,168
Reputation: 801
Default Re: samp.js - JavaScript for SA-MP

This is really an nice Job.
good work dude.
PT is offline   Reply With Quote
Old 02/07/2015, 09:08 PM   #17
KingHual
Banned
 
Join Date: Jun 2010
Location: Bulgaria
Posts: 2,298
Reputation: 1389
Default Re: samp.js - JavaScript for SA-MP

Quote:
Originally Posted by Abagail View Post
This isn't MTA, I don't think you can actively restart the gamemode without having players reconnect. And a scripting language doesn't really change that.
It's more than possible.
KingHual is offline   Reply With Quote
Old 02/07/2015, 09:12 PM   #18
Abagail
High-roller
 
Join Date: Dec 2013
Location: GetPlayerPos(playerid, pos); Scripter/Mapper.
Posts: 3,142
Reputation: 445
Default Re: samp.js - JavaScript for SA-MP

Quote:
Originally Posted by KingHual View Post
It's more than possible.
The players have to reconnect to restart the gamemode to my knowledge(when the server gmx'es they still reconnect ).
Abagail is offline   Reply With Quote
Old 02/07/2015, 09:13 PM   #19
GWMPT
Gangsta
 
Join Date: Nov 2012
Location: Portugal.
Posts: 989
Reputation: 287
Default Re: samp.js - JavaScript for SA-MP

Quote:
Originally Posted by Abagail View Post
This isn't MTA, I don't think you can actively restart the gamemode without having players reconnect. And a scripting language doesn't really change that.
When you restart a script, you don't really need to call OnPlayerConnect, or OnPlayerDisconnect
Anyways, if it's needed, you can fake these calls.
After all, they are only callbacks.
GWMPT is offline   Reply With Quote
Old 02/07/2015, 09:18 PM   #20
Abagail
High-roller
 
Join Date: Dec 2013
Location: GetPlayerPos(playerid, pos); Scripter/Mapper.
Posts: 3,142
Reputation: 445
Default Re: samp.js - JavaScript for SA-MP

Quote:
Originally Posted by GWMPT View Post
When you restart a script, you don't really need to call OnPlayerConnect, or OnPlayerDisconnect
Anyways, if it's needed, you can fake these calls.
After all, they are only callbacks.
I am not really specifically talking about those callbacks, but you can't directly restart a gamemode with the player staying spawned as you can start / stop etc resources while the player keeps the same onfoot data as you can in MTA.
Abagail 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
javascript. Banditukas Everything and Nothing 18 04/04/2015 06:00 PM
[Pedido] botão: script/ HTML/ JAVASCRIPT | SAMP FOLDER/FILE MestreSmart Português/Portuguese 6 28/02/2015 06:16 PM
Use PHP in javascript Banditukas Everything and Nothing 5 08/11/2014 06:44 AM
javascript samp:// [Ger]Little_Grandpa Help Archive 6 21/08/2010 07:24 PM


All times are GMT. The time now is 04:41 AM.


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