Commands crashes player
#2

Try this instead for 2 seconds and tell me if the command works, it's not suppose to play the sound with the following code, just want to see if it's a problem with the audio stream.

pawn Код:
if (strcmp("/hirado", cmdtext, true, 10) == 0)
    {
    new string[128],name[24];
    GetPlayerName(playerid,name,sizeof(name));
    format(string,sizeof(string),"{FF0000}Hнradу kцvetkezik! A stъdiуban {0099FF}%s!",name);
    SendClientMessageToAll(0xFF000000,string);
    return 1;
    }
PS: Why are you only playing the sound for the "playerid", when you've looped all the players online with the variable of "mindenki"?.
Reply


Messages In This Thread
Commands crashes player - by RaptorX72 - 23.09.2013, 15:28
Re: Commands crashes player - by DanishHaq - 23.09.2013, 15:30
Re: Commands crashes player - by Konstantinos - 23.09.2013, 15:32
Re: Commands crashes player - by RaptorX72 - 23.09.2013, 15:41
Re: Commands crashes player - by RaptorX72 - 23.09.2013, 15:44

Forum Jump:


Users browsing this thread: 1 Guest(s)