C:\Users\Daniel\Desktop\GamingClub RP\gamemodes\DreamWorld.pwn(12303) : error 029: invalid expression, assumed zero
C:\Users\Daniel\Desktop\GamingClub RP\gamemodes\DreamWorld.pwn(12303) : error 017: undefined symbol "cmd_stopmusic"
C:\Users\Daniel\Desktop\GamingClub RP\gamemodes\DreamWorld.pwn(12303) : error 029: invalid expression, assumed zero
C:\Users\Daniel\Desktop\GamingClub RP\gamemodes\DreamWorld.pwn(12303) : fatal error 107: too many error messages on one line
COMMAND:stopmusic(playerid, params[]) // THIS IS THE LINE
{
#pragma unused params
if (help)
{
SendClientMessage(playerid, 0xFF0000AA, "Stops audio for everyone.");
}
else
{
new
str[32];
if (isnull(params))
{
format(str, sizeof (str), "Usage: \"/stopmusic\"";
SendClientMessage(playerid, 0xFF0000AA, str);
}
else
{
StopAudioStreamForPlayer(playerid);
}
}
return 1;
}
#include <a_samp>
#include <core>
#include <turboenterexit>
#include <YSI\y_commands>
#include <YSI\y_master>
#include <zcmd>
#include <float>
#include <time>
#include <file>
#include <utils>
#include <morphinc>
#include <foreach>
#include <streamer>
C:\Users\Daniel\Desktop\GamingClub RP\gamemodes\DreamWorld.pwn(12303) : error 017: undefined symbol "cmd_stopmusic"
COMMAND:stopmusic(playerid, params[])
{
for(new i=0;i<MAX_PLAYERS;i++)
{
StopAudioStreamForPlayer(i);
}
return 1;
}
COMMAND:stopmusic(playerid, params[])
use this
pawn Код:
|
YCMD:stopmusic(playerid, params[], help)
{
#pragma unused help
#pragma unused params
for(new i=0;i<MAX_PLAYERS;i++)
{
StopAudioStreamForPlayer(i);
}
return 1;
}
C:\Users\Daniel\Desktop\GamingClub RP\gamemodes\DreamWorld.pwn(12303) : error 017: undefined symbol "@yC_stopmusic"
C:\Users\Daniel\Desktop\GamingClub RP\gamemodes\DreamWorld.pwn(12303) : error 017: undefined symbol "@yC_stopmusic"
C:\Users\Daniel\Desktop\GamingClub RP\gamemodes\DreamWorld.pwn(12303) : error 017: undefined symbol "i"
C:\Users\Daniel\Desktop\GamingClub RP\gamemodes\DreamWorld.pwn(12303) : fatal error 107: too many error messages on one line