19.02.2011, 21:16
Quote:
SendClientMessage(playerid, COLOR_YELLOW, string); Audio_Set3DPosition(playerid, handleid, x, y, z, distance); |
pawn Код:
for(new i = 0; i < 500; i++){
SendClientMessage(i, COLOR_YELLOW, string);
Audio_Set3DPosition(i, handleid, x, y, z, distance);
}
Also, if you get an error ("unknown playerid" or something else), try removing "#pragma unused playerid".
You're now actually removing the 'playerid' from the function (a kind of).
Quote:
if (sscanf(params, "dffff", handleid, x, y, z, distance)) { SendClientMessage(playerid, COLOR_YELLOW, "USAGE: /set3dposition <handleid> <x> <y> <z> <distance>"); return 1; } |