View Single Post
  #1  
Old 02-04-2007, 01:15 AM
JkWhoSaysNi JkWhoSaysNi is offline
Ruler of the graalaxy
Join Date: Feb 2005
Location: Great Britain
Posts: 488
JkWhoSaysNi is on a distinguished road
Send a message via ICQ to JkWhoSaysNi
Gani script question

Hello,

I'm using player.attr to attach a scripted gani to players.

In the gani the player object refers to the player to which the gani belongs. This is fine, but how can I access the player of the person viewing the gani?

For example, the gani shows an image but i dont want the person to see the image attached to themselves.

I want to do something like:
PHP Code:
showimg(200,.....);
if (
client.player == player) {
findimg(200).alpha 0;

Where client.player is the reference to the player viewing the gani rather than the player who has the gani set in player.attr.
__________________

Coming soon (Hopefully:P)
Reply With Quote