![]() |
setting hat on a character in GS2
i know the GS1 command is "setcharprop #P1" for setting a hat on an NPC, but is there a GS2 command for setting a hat on a character or NPC like "headimg" for head, "bodyimg" for body, etc...
i also have another question. how or what function determines whether or not players are able to walk through another player and players cannot walk through other players? do people just script their own functions for this or is there a command that can be used?? thanks. |
player.attr[0] = "imagename";
I believe. |
Only way to make players walk through each other is to make the area a nopk zone. Though, someone recently posted a script in the code gallery that did that exact thing.
|
thanks. i ran into another problem. here's what i did:
PHP Code:
i don't want to get rid of the CLIENTSIDE comment since i have additional functions below this that are clientside functions only. |
You can't just read a serverside variable from the clientside. You should use attr's.
|
thanks. it works using attr's.
|
Here's what I do
PHP Code:
|
Quote:
PHP Code:
|
Quote:
|
Quote:
|
I think that was the point...I think he was joking. lol
|
Quote:
PHP Code:
So if I say "sethatfrootloopston" it wont do anything. |
Quote:
|
All times are GMT +2. The time now is 03:49 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.