Forum

> > CS2D > Scripts > Team Based Menu in Lua
Forums overviewCS2D overview Scripts overviewLog in to reply

English Team Based Menu in Lua

4 replies
To the start Previous 1 Next To the start

old Re: Team Based Menu in Lua

DC
Admin Off Offline

Quote
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.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview