Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Variables Help (https://forums.graalonline.com/forums/showthread.php?t=134262955)

Astram 04-24-2011 07:54 AM

Variables Help
 
On my server, Vortex we have made an easter script that lays eggs for players to get and sell for items.
This doesnt appear to work:
PHP Code:

clientr.hatsize++;
clientr.hat(@ clientr.hatsize) = "Hat2"

Help please ^^

cbk1994 04-24-2011 07:56 AM

What doesn't work about it? What are you trying to do?

If you want dynamic variable names,
PHP Code:

player.clientr.(@ "hat" clientr.hatsize) = "Hat2"

But I doubt that's really what you want.

MrOmega 04-24-2011 06:39 PM

Is this serverside or clientside?


All times are GMT +2. The time now is 01:50 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.