Noob Question
#1

pawn Код:
if(newkeys & KEY_CROUCH)
    {
        if IsPlayerInAnyVehicle(playerid)
        {
        RemovePlayerFromVehicle(playerid);
        }
        }
    return 1;
}
pawn Код:
C:\Users\Marino Varesio\Desktop\zombie outbreak\gamemodes\Zombie_Outbreak_Original.pwn(3142) : error 001: expected token: "*then", but found "{"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
Reply
#2

try that =/
pawn Код:
if(newkeys & KEY_CROUCH)
    {
        if IsPlayerInAnyVehicle(playerid)
        {
            RemovePlayerFromVehicle(playerid);
        }
    return 1;
}
Reply
#3

didn't work lol
Reply
#4

pawn Код:
if(newkeys & KEY_CROUCH)
{
        if(IsPlayerInAnyVehicle(playerid))
        {
            RemovePlayerFromVehicle(playerid);
             return 1;
        }
   
}
Not touched indentation
Reply
#5

pawn Код:
if IsPlayerInAnyVehicle(playerid)
needs to be:
pawn Код:
if(IsPlayerInAnyVehicle(playerid))
Reply
#6

Lynn: lrn2readatopic. Iggy already posted a fix.
Reply
#7

I got it now guys, thx
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)