Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   players[i].... (https://forums.graalonline.com/forums/showthread.php?t=44974)

VeX_RaT_Boy 05-19-2003 10:09 PM

players[i]....
 
I how to use players[i].w/e...

But is there a way to get a string from that player?

like: players[index].string(client.string);

just guessing that above..

So if someone know if there is a way to do it, please reply..

Jeff 05-19-2003 10:18 PM

You have to either do a complicated bit with server strings or use the NPC server and with(players[i]), with(getplayer(account)), or with(allplayers[i])

CheeToS2 05-19-2003 10:49 PM

with (players[i]){
setstring this.blah,#s(client.blah);
}

VeX_RaT_Boy 05-19-2003 11:29 PM

Quote:

Originally posted by CheeToS2
with (players[i]){
setstring this.blah,#s(client.blah);
}

i have this:

with (players[this.i]){...}

but it doesn`t work...i cant get that player, and i know its the correct ID..

EDIT: Nevermind i got it to work


All times are GMT +2. The time now is 09:52 PM.

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