ajuda erros -
LKING - 14.06.2013
C:\Nova pasta\GM\gamemodes\eldm.pwn(24
: error 017: undefined symbol "InterpolateCameraPos"
C:\Nova pasta\GM\gamemodes\eldm.pwn(249) : error 017: undefined symbol "InterpolateCameraLookAt"
C:\Nova pasta\GM\gamemodes\eldm.pwn(262) : error 017: undefined symbol "PlayAudioStreamForPlayer"
C:\Nova pasta\GM\gamemodes\eldm.pwn(277) : error 017: undefined symbol "StopAudioStreamForPlayer"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
Re: ajuda erros -
Don_Speed - 14.06.2013
Simbolos nгo definidos !
Re: ajuda erros -
DannielCooper - 14.06.2013
Me manda o code inteiro, pode variar do tipo de " new " .
Re: ajuda erros -
Gustavo_Carvalho - 14.06.2013
Atualize sua include <a_samp>.
Re: ajuda erros -
LKING - 14.06.2013
http://pastebin.com/0ixNBpcw
Re: ajuda erros -
DannielCooper - 14.06.2013
Eu nгo quero o GM todo, mais sim a бrea que estб dando errors.
Re: ajuda erros -
LKING - 14.06.2013
http://pastebin.com/cKrGWzaG
248: InterpolateCameraPos(playerid,2013.6698,1913.9120, 35.0304,2013.6698,1913.9120,35.0304+100,10000);
249: InterpolateCameraLookAt(playerid,2004.7404,1913.83 79,40.3516,2004.7404,1913.8379,40.3516+50,10000);
262: PlayAudioStreamForPlayer(playerid, "http://rapha3l.comyr.com/eldm/songs/intro.mp3");
277: StopAudioStreamForPlayer(playerid);
Re: ajuda erros -
DannielCooper - 14.06.2013
pawn Код:
#define InterpolateCameraLookAt SetPlayerCameraLookAt
#define InterpolateCameraPost SetPlayerCameraPos
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 2004.7404,1913.8379,40.3516);
SetPlayerFacingAngle(playerid,264.7556);
SetPlayerTime(playerid, 0,0);
InterpolateCameraPos(playerid,2013.6698,1913.9120,35.0304,2013.6698,1913.9120,35.0304+100,10000);
InterpolateCameraLookAt(playerid,2004.7404,1913.8379,40.3516,2004.7404,1913.8379,40.3516+50,10000);
return 1;
}
//---[Server Opening]---//
public OnPlayerConnect(playerid)
{
new str[78], pnome[MAX_PLAYER_NAME];
GetPlayerName(playerid, pnome, sizeof(pnome));
format(str, sizeof(str), "{1E90FF}%s {006400}(ID:%d) {B22222}Connected To The Server.", pnome, playerid);
SendClientMessageToAll(-1, str);
TextDrawShowForPlayer(playerid, Textdraw1);
PlayAudioStreamForPlayer(playerid, "http://rapha3l.comyr.com/eldm/songs/intro.mp3");
return 1;
}
//---[Spawn]---//
public OnPlayerSpawn(playerid)
{
GivePlayerMoney(playerid,5000);
GivePlayerWeapon(playerid,4,1);
GivePlayerWeapon(playerid,31,9999);
GivePlayerWeapon(playerid,1,0);
new Random = random(sizeof(RandomSpawns));
SetPlayerPos(playerid, RandomSpawns[Random][0], RandomSpawns[Random][1], RandomSpawns[Random][2]);
SetPlayerFacingAngle(playerid, RandomSpawns[Random][3]);
StopAudioStreamForPlayer(playerid);
return 1;
}
O StopAudioFromPlayer, tem que ser colocado na public OnPlayerConnect, e eu acredito que resolvendo isso o PlayAudioStreamForPlayer deve voltar ao normal sem errors.
Re: ajuda erros -
LKING - 14.06.2013
C:\Nova pasta\GM\gamemodes\eldm.pwn(251) : error 017: undefined symbol "InterpolateCameraPos"
C:\Nova pasta\GM\gamemodes\eldm.pwn(252) : warning 202: number of arguments does not match definition
C:\Nova pasta\GM\gamemodes\eldm.pwn(252) : warning 202: number of arguments does not match definition
C:\Nova pasta\GM\gamemodes\eldm.pwn(252) : warning 202: number of arguments does not match definition
C:\Nova pasta\GM\gamemodes\eldm.pwn(252) : warning 202: number of arguments does not match definition
C:\Nova pasta\GM\gamemodes\eldm.pwn(264) : warning 217: loose indentation
C:\Nova pasta\GM\gamemodes\eldm.pwn(265) : error 017: undefined symbol "PlayAudioStreamForPlayer"
C:\Nova pasta\GM\gamemodes\eldm.pwn(266) : error 017: undefined symbol "StopAudioStreamForPlayer"
C:\Nova pasta\GM\gamemodes\eldm.pwn(275) : warning 217: loose indentation
C:\Nova pasta\GM\gamemodes\eldm.pwn(279) : warning 217: loose indentation
C:\Nova pasta\GM\gamemodes\eldm.pwn(281) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
3 Errors.
Re: ajuda erros -
DannielCooper - 14.06.2013
Nгo vai adiantar vocк me mandar sу a linha dos errors, tem que me mandar o code todo !