[HELP]need asistance with Audio_Set3DPosition (Plugin made by Incognito)
#2

why not like this?
PHP код:
public OnPlayerDeath(playeridkilleridreason)
{
    new 
Float:x,Float:y,Float:z;
    
GetPlayerPos(playerid,x,y,z);
    for(new 
t;t<MAX_PLAYERS;t++)
    if(
IsPlayerInRangeOfPoint(t,5.0,x,y,z))
    {
        
Audio_PlayStream//or whatever for playerid "t"!!!
        
return 1;
    }
    return 
1;

Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)