16.04.2014, 17:48
Quote:
if(dialogid == 439){
if(!response)return 1; if(strlen(inputtext)) { SendClientMessageToAll(-1, MUSstr); for ( new i, j = GetMaxPlayers( ) ; i < j ; ++ i) { format(MUSstr,sizeof(MUSstr),"%s",inputtext); PlayAudioStreamForPlayer(i,MUSstr); } } } return 1; } The pawn is crashing and i don't know why Help |
pawn Код:
if(dialogid == 439)
{
if(!response) return 1;
if(strlen(inputtext))
{
SendClientMessageToAll(-1, MUSstr);
for ( new i, j = GetMaxPlayers( ) ; i < j ; ++ i)
{
format(MUSstr,sizeof(MUSstr),"%s",inputtext);
PlayAudioStreamForPlayer(i,MUSstr);
}
}
}//this one, just remove that
return 1;
}