PDA

View Full Version : Variable abfragen


Blackazur
14/05/2014, 12:12 PM
Hello, how can i make that you can use it if you are in one of this teams? Is that right?

if(team[playerid] == TEAM_1 || TEAM_2)

Konstantinos
14/05/2014, 12:22 PM
You can't compare like that.

http://wiki.sa-mp.com/wiki/Control_Structures#Operators


if(team[playerid] == TEAM_1 || team[playerid] == TEAM_2)