Installer Steam
log på
|
sprog
简体中文 (forenklet kinesisk)
繁體中文 (traditionelt kinesisk)
日本語 (japansk)
한국어 (koreansk)
ไทย (thai)
Български (bulgarsk)
Čeština (tjekkisk)
Deutsch (tysk)
English (engelsk)
Español – España (spansk – Spanien)
Español – Latinoamérica (spansk – Latinamerika)
Ελληνικά (græsk)
Français (fransk)
Italiano (italiensk)
Bahasa indonesia (indonesisk)
Magyar (ungarsk)
Nederlands (hollandsk)
Norsk
Polski (polsk)
Português (portugisisk – Portugal)
Português – Brasil (portugisisk – Brasilien)
Română (rumænsk)
Русский (russisk)
Suomi (finsk)
Svenska (svensk)
Türkçe (tyrkisk)
Tiếng Việt (Vietnamesisk)
Українська (ukrainsk)
Rapporter et oversættelsesproblem






-spawn in the ON/OFF button
-spawn the protection zone and create a script zone over it
-save then load the table
-copy the GUID of the script zone and edit the code of the ON/OFF button
Am I missing something ? I don't know what I'm missing or if I forgot a step. Any help would be appreciated!
Player[c].changeColor("Grey")
--after the line that says
broadcastToColor("You are not permitted to pick up objects in this zone.", color, {0.9,0.2,0.2})
I don't have it open to check ot see if it passes the zone information for the color zone they were trying to take it from.
This one sends a message to just the player. It looks like this:
broadcastToColor("You are not permitted to pick up objects in this zone.", color, {0.9,0.2,0.2})
You could change that to broadcast a message to everyone if you like.
As for going fast enough, it has to do with the load time for the item when it comes into existance. I could use the same solution I just mentioned, but then if someone was doing "search crime" it would delete stuff, which I prefer not to do. I'd rather leave the small loophole that forces someone to obviously and violently cheat (like you can see the msearching your bag). I think of this as more "casual cheating protection"
Try making a taller scripting zone. Does that solve it? Also, not sure about the error. Myabe onObjectPickedUp is indeed getting called by the script, in which case, WEIRD. I'll make a note to look at it. If that is the case, then I should be able to put in an exception to prevent that error.
1. U can flick it, so just disable flicking ;p
2. If you raise the object (By pressing R) over the scripted zone, u can grab it, so u would just need to raise the scripted zone itself :)
Its a great mod! And good job man!