05.04.2009, 12:31
You forgot an "=" sign in there:
if (PlayerInfo[playerid][team] = "agent") { ElvisRandomSpawnPlayer(playerid); }
change to:
if (PlayerInfo[playerid][team] == "agent") { ElvisRandomSpawnPlayer(playerid); }
but just doing this will not work I dont think, you need to use strmid.
if (PlayerInfo[playerid][team] = "agent") { ElvisRandomSpawnPlayer(playerid); }
change to:
if (PlayerInfo[playerid][team] == "agent") { ElvisRandomSpawnPlayer(playerid); }
but just doing this will not work I dont think, you need to use strmid.

