Quote:
Originally Posted by Gunderak
iv finally got all that working correctly. now to get the add text right its not working.
it now displays the message to all players. once u chat it sets server.temp.chat to ur chat and server.temp.nick to your nick and then adds the chat but on the add chat because its clientside its not reading server.temp.nick or server.temp.chat..
any suggestions?
im completly stuck, almost to the point of pulling my hair out.
|
First,
server. variables are only accessible serverside. You're looking for
serverr. variables, which can only be written serverside but are readable clientside.
Second,
Quote:
Originally Posted by Mark Sir Link
this is not the approach you should be using at all
|
Use
onRemotePlayerChats(temp.pl, temp.chat) on clientside instead. I don't understand your obsession with storing everything in server variables. There are very, very few instances where using server variables is advisable.