11.12.2012, 11:24
C:\Users\NoLagg\Desktop\vasco\gamemodes\fatron.pwn (4442) : error 035: argument type mismatch (argument 1)
C:\Users\NoLagg\Desktop\vasco\gamemodes\fatron.pwn (4474) : error 035: argument type mismatch (argument 1)
C:\Users\NoLagg\Desktop\vasco\gamemodes\fatron.pwn (4452) : warning 203: symbol is never used: "seek"
C:\Users\NoLagg\Desktop\vasco\gamemodes\fatron.pwn (4504) : error 035: argument type mismatch (argument 1)
C:\Users\NoLagg\Desktop\vasco\gamemodes\fatron.pwn (4483) : warning 203: symbol is never used: "seek"
C:\Users\NoLagg\Desktop\vasco\gamemodes\fatron.pwn (91454) : warning 235: public function lacks forward declaration (symbol "OnPlayerShootPlayer")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
3 Errors.
The Lines that are in the error code is here
Its the audio thingy , how do I fix it
C:\Users\NoLagg\Desktop\vasco\gamemodes\fatron.pwn (4474) : error 035: argument type mismatch (argument 1)
C:\Users\NoLagg\Desktop\vasco\gamemodes\fatron.pwn (4452) : warning 203: symbol is never used: "seek"
C:\Users\NoLagg\Desktop\vasco\gamemodes\fatron.pwn (4504) : error 035: argument type mismatch (argument 1)
C:\Users\NoLagg\Desktop\vasco\gamemodes\fatron.pwn (4483) : warning 203: symbol is never used: "seek"
C:\Users\NoLagg\Desktop\vasco\gamemodes\fatron.pwn (91454) : warning 235: public function lacks forward declaration (symbol "OnPlayerShootPlayer")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
3 Errors.
The Lines that are in the error code is here
Код:
forward SendAudioToPlayer(playerid, audioid, volume, seek); public SendAudioToPlayer(playerid, audioid, volume, seek) { if(IsPlayerConnected(playerid)) { if(Audio_IsClientConnected(playerid)) { new localhandle = Audio_Play(playerid,audioid,false,false,false); Audio_SetVolume(playerid, localhandle, volume); Audio_OnSetPack(playerid, localhandle, seek); } else { return 0; } } return 1; }