error 030
#1

How to fix this

Код:
C:\Users\Ramin\Desktop\Spel\SAMP\GL-RP\gamemodes\GLRP.pwn(89108) : error 030: compound statement not closed at the end of file (started at line 89099)
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Код:
CMD:radiohelp(playerid, params[])
{
if(PlayerInfo[playerid][pLevel] >= 1)
{
SendClientMessageEx(playerid, COLOR_LIGHTBLUE, "Radio Help - Read this if your radio is not working");
SendClientMessageEx(playerid, COLOR_GREEN, "Make sure your audio on the computer works");
SendClientMessageEx(playerid, COLOR_GREEN, "Press Stop Radio and then select your radio station");
SendClientMessageEx(playerid, COLOR_GREEN, "Go to Options then Audio Setup then check that the sound on the radio is filled (Press ESC to access the Options)");
return 1;
}
Reply
#2

The problem isn't with the code that you gave, the problem is with the regular of the script, check the end of your script
Reply
#3

Quote:
Originally Posted by Stanford
Посмотреть сообщение
The problem isn't with the code that you gave, the problem is with the regular of the script, check the end of your script
End of my script i got this

Код:
CMD:radiohelp(playerid, params[])
{
if(PlayerInfo[playerid][pLevel] >= 1)
{
SendClientMessageEx(playerid, COLOR_LIGHTBLUE, "Radio Help - Read this if your radio is not working");
SendClientMessageEx(playerid, COLOR_GREEN, "Make sure your audio on the computer works");
SendClientMessageEx(playerid, COLOR_GREEN, "Press Stop Radio and then select your radio station");
SendClientMessageEx(playerid, COLOR_GREEN, "Go to Options then Audio Setup then check that the sound on the radio is filled (Press ESC to access the Options)");
return 1;
}
Reply
#4

Ohh you should put this under a command.. not at the end of your script
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)