Radio[rep]
#6

Quote:
Originally Posted by emokidx111
Посмотреть сообщение
try
pawn Код:
public OnPlayerExitVehicle(playerid, vehicleid)
{
    for(new i; i<MAX_PLAYERS; i++)
    {
        StopAudioStreamForPlayer(i);
    }
    return 1;
}
ok good il give you another chance soo u dont say im an noob..

if i go in range it spams.. liek you see in picture please help first help gets Rep!

PHP код:
public OnPlayerUpdate(playerid)
{
    if(!
IsPlayerConnected(playerid)) return 0;
    if(
IsPlayerNPC(playerid)) return 1;
    if(
GetPlayerInterior(playerid) == 0) {
        if(
IsPlayerInRangeOfPoint(playerid,70.0,1300.4093,-1868.7646,17.4449)) {
            if(!
GetPVarInt(playerid,"alhambra")) {
                
SetPVarInt(playerid,"alhambra",0);
                
PlayAudioStreamForPlayer(playerid"http://live.radioplayone.ro:9888/",1300.4093,-1868.7646,17.4449,70.0,true);
            }
        }
    }
    else {
        if(
GetPVarInt(playerid,"alhambra")) {
              
DeletePVar(playerid,"alhambra");
               
StopAudioStreamForPlayer(playerid);
        }
    }
    return 
1;

http://imageshack.us/photo/my-images/835/samp001pb.png/ see picture please!
Reply


Messages In This Thread
Radio[rep] - by Dan_Barocu - 21.02.2012, 14:46
Re: Radio[rep] - by emokidx - 21.02.2012, 14:49
Re: Radio[rep] - by ArmyOps - 21.02.2012, 14:49
Re: Radio[rep] - by Toreno - 21.02.2012, 15:01
Re: Radio[rep] - by YoungWildFree - 21.02.2012, 15:04
Re: Radio[rep] - by Dan_Barocu - 21.02.2012, 15:15
Re: Radio[rep] - by Mark™ - 21.02.2012, 15:24
Re: Radio[rep] - by Dan_Barocu - 21.02.2012, 15:26
Re: Radio[rep] - by emokidx - 21.02.2012, 15:31
Re: Radio[rep] - by Dan_Barocu - 21.02.2012, 15:31

Forum Jump:


Users browsing this thread: 1 Guest(s)