Home   Help Search Login Register  

Author Topic: Global Visual Effects?  (Read 1095 times)

0 Members and 3 Guests are viewing this topic.

Britboy

  • Guest
Global Visual Effects?
« on: 16 Apr 2004, 20:08:13 »
This is based on my previous topic, but I think it deserves its own.

I have a script that assigns a rank texture to players depending on their player name. The script does work but the effects can only be seen locally (ie. the local player can see his own rank texture, but no-one else can).

Is there anyway to make it so everyone can see?

Code: [Select]
_Bob = "[CPL] Bob"
_Joe = "[CPL] Joe"
_Tim = "[LCP] Tim"
_Tom = "[LCP] Tom"

#CPL
?(Name player == _Bob) : player setObjectTexture [2,"\rank_cpl.paa"]
?(Name player == _Joe) : player setObjectTexture [2,"\rank_cpl.paa"]

#LCP
?(Name player == _Tim) : player setObjectTexture [2,"\rank_lcpl.paa"]
?(Name player == _tom) : player setObjectTexture [2,"\rank_lcpl.paa"]