01.02.2011, 17:43
I have...
new bool: select[MAX_PLAYERS_EX];
public OnPlayerRequestClass(playerid, classid)
{
if(select[playerid]==false){
select[playerid]=true;
Audio_Play(playerid,1,false,false,false);
}
return 1;
}
public OnPlayerSpawn(playerid)
{
if(select[playerid]==true){
select[playerid]=false;
Audio_Stop(playerid,1);
}
return 1;
}
When I connect, in class selection nothing play. I spawn, try F4 and /kill and itґs playing. Whereґs a problem?
new bool: select[MAX_PLAYERS_EX];
public OnPlayerRequestClass(playerid, classid)
{
if(select[playerid]==false){
select[playerid]=true;
Audio_Play(playerid,1,false,false,false);
}
return 1;
}
public OnPlayerSpawn(playerid)
{
if(select[playerid]==true){
select[playerid]=false;
Audio_Stop(playerid,1);
}
return 1;
}
When I connect, in class selection nothing play. I spawn, try F4 and /kill and itґs playing. Whereґs a problem?
