Szerző Téma: if hiba  (Megtekintve 422 alkalommal)

if hiba
« Dátum: 2012. június 28. - 11:45:31 »
0 Show voters
            new na[MAX_PLAYER_NAME];
          GetPlayerName(playerid, na, sizeof(na))
        if (!IsRPName(na))
    {
        SendClientMessage(playerid, 0xff0000ff, \"Ez egy RolePlay szerver, RP-s névvel lépj be!\");
        return Kick(playerid);
    }

 
(599) : error 001: expected token: \";\", but found \"if\"
Pawn compiler 3.2.3664           Copyright © 1997-2006, ITB CompuPhase
1 Error.
De ha beteszem a \";\" akkor
599) : error 001: expected token: \";\", but found \"if\"
(599) : error 036: empty statement
(604) : warning 225: unreachable code
Pawn compiler 3.2.3664           Copyright © 1997-2006, ITB CompuPhase
2 Errors.

Elérhető DrAkE

  • 2078
    • Profil megtekintése
if hiba
« Válasz #1 Dátum: 2012. június 28. - 11:53:13 »
+1 Show voters
GetPlayerName(playerid, na, sizeof(na));

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal