Error line
#1

pawn Код:
if(fexist(file)) {
    {
    if PInfo[playerid][Banned] == 1 return SendClientMessage(playerid,red,"You are banned from this server you can appeal this at our site");
    Kick(playerid);
    }
        ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT, "Login Below", "Enter Your Password To Login!", "Login", "Quit");
    } else {
        ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT, "Register Below", "Enter A Password To Register And Play!", "Register", "Quit");
    }
    return 1;
}
C:\Users\Bichan\Desktop\UKTDM\gamemodes\UKTDM.pwn( 637) : error 001: expected token: "*then", but found "return"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply
#2

PHP код:
if(fexist(file)) {
    if (
PInfo[playerid][Banned] == 1
Reply
#3

How stupid that i missed that...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)