#Event from Client to Server only sending Player

1 messages · Page 1 of 1 (latest)

dusk pivot
#

Im trying to send an event from the Client to the Server and send across the "Target" to be destroyed, the event will only send across the player.

#

Above is the code that sends the event

delicate scarab
#

the player is automatically sent

dusk pivot
#

yes but even when im sending target

#

it still sends player

#

it wont send target

#

only player

delicate scarab
#

sendEnemyDead:FireServer(player, target) is recieved as (player, player, target)

#

because the server automatically gets the player

#

you dont need to send it

dusk pivot
#

so i remove player from the send?

delicate scarab
#

yeah so. :FireServer(target)

dusk pivot
#

Yup that worked, i think i just had a blonde moment with my events 😭

#

its not usual for me to send from client to server

#

thanks for the help