16.04.2014, 17:43
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
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