#1

I forgot which code it is to play a sound for everyone...
This might be dumb.. i know

I had This
pawn Код:
PlayerPlaySound(1062, 0, 0, 0);
And i am getting this warning.
Код:
(2063) : warning 202: number of arguments does not match definition
Reply
#2

You willneed to do a loop and use PlayerPlaySound(playerid, 1130, 0.0, 0.0, 0.0);

There is no native function to play it for all players although you easily could make such a function using the mentioned loop

To make: PlayerPlayerSoundForAll(soundid,x,y,z);
Reply
#3

Getting a error

pawn Код:
PlayerPlayerSoundForAll(1062, 0, 0, 0); // line 2093
stock PlayerSoundForAll(1062) // line 445
    {
    for(new i = 0; i < MAX_PLAYERS; i++) PlayerPlaySound(i, 1062, 0.0, 0.0, 0.0);
    }
Код:
(445) : error 029: invalid expression, assumed zero
(445) : error 017: undefined symbol "PlayerSoundForAll"
(2093) : error 017: undefined symbol "PlayerPlayerSoundForAll"
Reply
#4

getting this now.
Код:
(2088) : error 017: undefined symbol "PlayerPlaySoundForAll"
(2194) : error 010: invalid function or declaration/code]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)