SA-MP Forums Archive
I need help!(again) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: I need help!(again) (/showthread.php?tid=584945)



I need help!(again) - BarFix - 09.08.2015

After many attempts i add the code " PlayAudioStreamForPlayer(playerid, "http://************/ovsso55);" After adding this i get this error....

Код:
C:\Users\Luke\Desktop\SCRIPT\gamemodes\SBRP.pwn(152) : error 037: invalid string (possibly non-terminated string)
C:\Users\Luke\Desktop\SCRIPT\gamemodes\SBRP.pwn(152) : error 029: invalid expression, assumed zero
C:\Users\Luke\Desktop\SCRIPT\gamemodes\SBRP.pwn(152) : error 029: invalid expression, assumed zero
C:\Users\Luke\Desktop\SCRIPT\gamemodes\SBRP.pwn(152) : fatal error 107: too many error messages on one line
The Line.

Код:
// FORWARDS
forward UnsetKick(playerid);
public UnsetKick(playerid)
{
	Kick(playerid);
}
forward UnsetConnection(playerid);
public UnsetConnection(playerid)
{
	PlayAudioStreamForPlayer(playerid, "http://************/ovsso55);
	SetPlayerCameraPos(playerid, 0.0, 0.0, 0.0);
	SetPlayerCameraLookAt(playerid, 0.0, 0.0, 0.0);
}



Re: I need help!(again) - Syzygy1 - 09.08.2015

pawn Код:
PlayAudioStreamForPlayer(playerid, "http://************/ovsso55");
You missed a " out.


Re: I need help!(again) - jlalt - 09.08.2015

PHP код:
// FORWARDS
forward UnsetKick(playerid);
public 
UnsetKick(playerid)
{
    
Kick(playerid);
}
forward UnsetConnection(playerid);
public 
UnsetConnection(playerid)
{
    
PlayAudioStreamForPlayer(playerid"http://************/ovsso55");
    
SetPlayerCameraPos(playerid0.00.00.0);
    
SetPlayerCameraLookAt(playerid0.00.00.0);




Re: I need help!(again) - BarFix - 09.08.2015

Quote:
Originally Posted by jlalt
Посмотреть сообщение
PHP код:
// FORWARDS
forward UnsetKick(playerid);
public 
UnsetKick(playerid)
{
    
Kick(playerid);
}
forward UnsetConnection(playerid);
public 
UnsetConnection(playerid)
{
    
PlayAudioStreamForPlayer(playerid"http://************/ovsso55");
    
SetPlayerCameraPos(playerid0.00.00.0);
    
SetPlayerCameraLookAt(playerid0.00.00.0);

Oh lmao... I even got my friend to check and he couldnt see it

ty