Invalid handle, PlayStreamed with Set3DPosition (Incognito's Audio Plugin)
#4

When you call the function, Audio_OnPlay has already been called? Are you sure?

Add a debug in Audio_OnPlay, and debug the playerVariables[playerid][pAudioHandle] inside Function ( .. ) with the value

Код:
printf("handle value: %d", playerVariables[playerid][pAudioHandle]);
    Audio_Set3DPosition(playerid, playerVariables[playerid][pAudioHandle], playerPos[0], playerPos[1], playerPos[2], 50.0);
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)