I use this code but all the time it says:
error:client.go undentified var
client
var
go = 0
game = 0
obj
t2
icon='icons.dmi'
icon_state = "t2"
Click()
if(client.go == 1)
usr<<"Hi"
ID:261646
Nov 9 2002, 9:36 am
|
|
Nov 9 2002, 9:40 am
|
|
It should be usr.client.go.
|
In response to Nadrew
|
|
I want it for the whole world cause its goin be like a chess game where the people cant move unless the first person moves.
|
In response to MC Staff
|
|
MC Staff wrote:
I want it for the whole world cause its goin be like a chess game where the people cant move unless the first person moves. I'm not sure what "it" is supposed to mean, but if you want to change or check client.go for everyone in the world, you'll have to loop through every mob in the world, or a list of players. However, the current setup will only check src.client.go, and since objs don't have a client var, that fails. Lummox JR |
In response to MC Staff
|
|
for(var/mob/M in world) Just an example. |