Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
0 registered members (), 938 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
proc_client thingy #82699
07/23/06 16:16
07/23/06 16:16
Joined: Sep 2005
Posts: 159
The Netherlands
D
Dutchie666 Offline OP
Member
Dutchie666  Offline OP
Member
D

Joined: Sep 2005
Posts: 159
The Netherlands
when im using this script:

Code:
function hideme(){
my.invisible = on;
}

action mannetje {
proc_client(me,hideme);
}




and i make the entity on the server, the character is not hidden on the server... but when i create the same entity from a client it is invisible on that client, like i want.
but how can i make it that if i create it on the server that it is hidden on the server but shown on the rest?

Re: proc_client thingy [Re: Dutchie666] #82700
07/30/06 23:13
07/30/06 23:13
Joined: Mar 2004
Posts: 202
Germany
zSteam_ Offline
Member
zSteam_  Offline
Member

Joined: Mar 2004
Posts: 202
Germany
hello
use these script

Code:

action mannetje
{
my.invisible=off;

ifdef server;
my.invisible=on;
endif;
}




hope this is helpful


A6 Commercial 6.50.6

Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1