Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. #include <a_samp>
  2. public OnPlayerStateChange(playerid, newstate, oldstate)
  3. {
  4. new carid = GetPlayerVehicleID(playerid);
  5. if((carid <= 582) && (carid <= 488))
  6. if(oldstate == PLAYER_STATE_ONFOOT && newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER)
  7.     {
  8.         PlayAudioStreamForPlayer(playerid, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=1346749");
  9.         SendClientMessage(playerid, -1, "{33FF00}Voce está a {FFFF00}2GB TalkShow!");
  10.     }
  11. if(oldstate == PLAYER_STATE_DRIVER && newstate == PLAYER_STATE_ONFOOT)
  12.     {
  13.         StopAudioStreamForPlayer(playerid);
  14.     }
  15. return 1;
  16. }