UFE (Unidentified Flying Error) -_- - 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: UFE (Unidentified Flying Error) -_- (
/showthread.php?tid=384336)
UFE (Unidentified Flying Error) -_- -
CrazyManiac - 11.10.2012
Hello guys. I made a Dialog response, but for some reason it won't compile, and i dont know why.
Here's the errors and the response:
Response
Код:
case DIALOG_ROLEPLAY:
(
if ( !response ) return Kick(playerid); // Pressing ESC
if(response) // Double-Clicked, or "OK"
{
if(listitem == 0) // Mind Gaming (Wrong)
{
SendClientMessage(playerid,0xFFFFFF,"You have been kicked from the server. Reason: Wrong answer (Roleplay Quiz).");
Kick(playerid);
}
if(listitem == 1) // Meta Gaming (Correct)
{
SendClientMessage(playerid,0xFFFFFF,"Correct answer! Continuing to next question...");
}
if(listitem == 2) // Mood Gaming (Wrong)
{
SendClientMessage(playerid,0xFFFFFF,"You have been kicked from the server. Reason: Wrong answer (Roleplay Quiz).");
Kick(playerid);
}
}
Errors
Код:
C:\Documents and Settings\Fabian\My Documents\GTA SA Server\pawno\include\YSI\internal\y_dohooks.inc(2572) : warning 235: public function lacks forward declaration (symbol "OnUnoccupiedVehicleUpdate")
C:\Documents and Settings\Fabian\My Documents\Server\pawno\include\YSI\internal\y_dohooks.inc(3432) : warning 235: public function lacks forward declaration (symbol "OnPlayerTakeDamage")
C:\Documents and Settings\Fabian\My Documents\Server\pawno\include\YSI\internal\y_dohooks.inc(3501) : warning 235: public function lacks forward declaration (symbol "OnPlayerGiveDamage")
C:\Documents and Settings\Fabian\My Documents\Server\gamemodes\v8.pwn(194) : warning 224: indeterminate array size in "sizeof" expression (symbol "")
C:\Documents and Settings\Fabian\My Documents\Server\gamemodes\v8.pwn(454 -- 455) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Fabian\My Documents\Server\gamemodes\v8.pwn(455) : warning 215: expression has no effect
C:\Documents and Settings\Fabian\My Documents\Server\gamemodes\v8.pwn(455) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Fabian\My Documents\Server\gamemodes\v8.pwn(455) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Fabian\My Documents\Server\gamemodes\v8.pwn(455) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
Greetz, CrazyManiac.
Re: UFE (Unidentified Flying Error) -_- -
Abhishek. - 11.10.2012
Код:
case DIALOG_ROLEPLAY:
(
if ( !response ) return Kick(playerid); // Pressing ESC
if(response) // Double-Clicked, or "OK"
{
if(listitem == 0) // Mind Gaming (Wrong)
{
SendClientMessage(playerid,0xFFFFFF,"You have been kicked from the server. Reason: Wrong answer (Roleplay Quiz).");
Kick(playerid);
}
else if(listitem == 1) // Meta Gaming (Correct)
{
SendClientMessage(playerid,0xFFFFFF,"Correct answer! Continuing to next question...");
}
else if(listitem == 2) // Mood Gaming (Wrong)
{
SendClientMessage(playerid,0xFFFFFF,"You have been kicked from the server. Reason: Wrong answer (Roleplay Quiz).");
Kick(playerid);
}
}
and the upper warnings are there because of i think some more logical fault in your script