![]() |
player.rupees issue
I am having a problem with the variable "player.rupees".
When I use the following: PHP Code:
Is there something I'm doing wrong? |
You can't permanently modify it on the client-side, you have to do it on the server-side.
Also don't use "var" since it's a keyword that likes to mess with scripts. |
Ok, is it possible to use onPlayerChats serverside?
And "var" was just an example. I used a different variable name in the actual script. |
Never mind, I have figured it out. (Should have tested before I posted >_<)
Thanks |
triggerserver sould be used instead of onPlayerChats() serverside
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
Anything can end up being a security risk in the hands of uneducated scripter. |
last I checked, onPlayerChats doesn't work in weapons.
|
Quote:
|
Quote:
|
He's probably talking about the serverside.
|
Quote:
|
Quote:
|
Quote:
|
onPlayerChats is called clientside-only in weapons. If it was called serverside in weapons, that would usually be the preferred way to use it for most things. It certainly wouldn't be less secure.
This is why Twinny's post made no sense to me, and still does. |
Quote:
|
| All times are GMT +2. The time now is 06:39 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.