![]() |
i need to know a client side variable (something like this.variable or server.variable) to use for a script im making, i dont want to use //#CLIENTSIDE because it makes the whole script client side, i need a client side variable, not a string...thnx
|
u just say
you just say
local.whatever and then it wont send it into the server it will keep it client side |
local. is for client-side scripts
What exactly are you meaning with 'client-side variable' in server-side script? When a flag is starting with client. then it is also sent to the client, and the client can change it too (e.g. in weapons) All other flags are saved for the current player, except this. flags (for the npc) and server. flags (for the server). |
intresting
I never knew about client.whatever
intresting |
Yes only makes sense with npcserver :-)
|
Current player: of course only
exists when there is an event involving a player (playertouchsme, playerleaves, playerdies,playerchats,washit,action...) or when using with (players[index]) or with (getplayer(accountname)) |
it wouldn't do anything then because
there is no player |
No variables are sent to other players/servers,
only special flags (which can be used as string variables) showimgs are only sent to other players for displaying, its a client-side thing |
| All times are GMT +2. The time now is 07:45 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.