"Bought objects?", audio stream question?
#2

1) Use a bool variable. Consider an object like a pen.
pawn Код:
new bool:has_a_pen[ MAX_PLAYERS ] = false;
CMD:buyapen(playerid)
{
     if( has_a_pen[ playerid] == true ) SendClientMessage( .. "You already have a pen." );
     if( Money < ... )
     else
     {
         has_a_pen[ playerid] = true;
      }
    return 1;
}
2nd) PlayAudioStreamForPlayer
Reply


Messages In This Thread
"Bought objects?", audio stream question? - by davve95 - 06.04.2013, 16:39
Re: "Bought objects?", audio stream question? - by RajatPawar - 06.04.2013, 16:43
Re: "Bought objects?", audio stream question? - by davve95 - 06.04.2013, 16:52

Forum Jump:


Users browsing this thread: 1 Guest(s)