Forum

> > CS2D > Scripts > Team Based Menu in Lua
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Team Based Menu in Lua

4 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Re: Team Based Menu in Lua

DC
Admin Off Offline

Zitieren
this code doesn't make much sense PartyPooPer. what is the "team,id" expression about? you check if the string "team,id" has the value 1. which is - of course - never true.

1
if (player(id,"team")==1) then ...
would be the right approach with id being a variable that holds the ID of a player.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht