Forum

> > CS2D > Scripts > Check if player is in a buy-zone
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Check if player is in a buy-zone

1 Antwort
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Check if player is in a buy-zone

Mami Tomoe
User Off Offline

Zitieren
How can I check, through Lua, if a player is within their buy zone?

I'm trying to create a custom buy menu, and I want to prevent item purchases outside the bounds of the spawn.

I know I can loop through all the spawn entities and start from there, but that'll be quite inefficient and take a while to implement.
Does anyone have a better idea?

Edit: I have located cs2d lua cmd inentityzone!
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht