Boombox error
#1

Код:
C:\Documents and Settings\Administrator\Desktop\SARP Server\SARP Server\filterscripts\boombox.pwn(104) : error 017: undefined symbol "Boombox"
C:\Documents and Settings\Administrator\Desktop\SARP Server\SARP Server\filterscripts\boombox.pwn(104) : warning 215: expression has no effect
C:\Documents and Settings\Administrator\Desktop\SARP Server\SARP Server\filterscripts\boombox.pwn(104) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Administrator\Desktop\SARP Server\SARP Server\filterscripts\boombox.pwn(104) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator\Desktop\SARP Server\SARP Server\filterscripts\boombox.pwn(104) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Line
Quote:

104> if(!Boombox[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You don't have a boombox placed.");

Reply
#2

pawn Код:
//Near the top of your script
new Boombox[MAX_PLAYERS];
Reply
#3

Where do you have Boombox defined?
Reply
#4

Quote:
Originally Posted by Infinity90
Посмотреть сообщение
pawn Код:
//Near the top of your script
new Boombox[MAX_PLAYERS];
Thanks but still have one more error
Код:
147) : error 017: undefined symbol "StopAudioStreamForPlayerEx"
line 147)
Quote:

{
StopAudioStreamForPlayerEx(playerid);

Reply
#5

pawn Код:
//Replace StopAudioStreamForPlayerEx(playerid); TOO:
StopAudioStreamForPlayer(playerid);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)