FAXES
July 14, 2018, 9:30am
1
Solo Session Message By FAXES
About
The aim of Solo Session Message is for when a player solo / split sessions a message will be displayed on screen. This was requested as Solo Kick kicks the player and some wanted just a simple message.
In the Download
__resource.lua
client.lua
server.lua
Requirements
None. This is a standalone script.
Downloads:
Change-Log(s)
Installation
Place in your resources folder, just like any other resource.
Credits
@dibzer for being apart of my Official Community Testers
If you have any issues or comments please put them below.
9 Likes
dibzer
July 14, 2018, 12:30pm
2
Killlllllllllllin the game lately man! Thank you for allowing us to test out these amazing resources <3
1 Like
What is the chance of i made nearly the same Script today, just with Chatmessage ahah xd
Awesome Release +1 :))
2 Likes
So if someone is in a lobby by them self the message still appears?
if serverPlayerNumber-clientPlayerNumber > 4 then
TriggerClientEvent("FaxSM:SendMessage")
end
1 - 1 is not > 4 so no. There are better ways for checking for “sessioned” players tho.
2 Likes
i was using solokick on my server but stoped because it was kicking people who were not in there own session…
Shouldn’t line 9 of server.lua have the source passed to the client event?
Can you tell us any better checking?
I think it should actually
1 Like
FAXES
July 28, 2018, 8:39am
11
Finally updated the OP with new direct and added change-log section
2 Likes
there is an error… shouldn’t source be called AFTER the “name of event handler”?
like TriggerClienEvent(“name of event”, source)
FAXES
July 28, 2018, 8:58am
13
It will still work.
I actually tested it. Someone solo session-ed on one of my testers servers and it worked
2 Likes
Not workin for me, i was in sessioned on my full serwer
But how can we fix that solo session error? What should I delete?
FAXES
Closed
March 15, 2019, 7:53am
17
FiveM added this into the game by default!!!