Omg stupid problem!!!
#6

Try this

pawn Код:
dcmd_jack(playerid,params[])
{
    #pragma unused params
    new newstate;
    if(PlayerInfo[playerid][pJob] != 1) return SendClientMessage(playerid,-COLOR_AFOR,"You are not a car jacker !");
    else if(PlayerInfo[playerid][pJob] == 1)
    {
        if(newstate != PLAYER_STATE_DRIVER) return SendClientMessage(playerid,COLOR_AFOR,"This car is unjackable !");
        newstate = GetPlayerVehicleID(playerid);
        if(IsAJackAble(newstate)) return SendClientMessage(playerid,COLOR_AFOR,"Jacked!");
    }
    return 1;
}
And use [ pawn ] [ /pawn ] tags next time please
Reply


Messages In This Thread
Omg stupid problem!!! - by bijoyekuza - 29.03.2011, 17:20
Re: Omg stupid problem!!! - by xir - 29.03.2011, 17:22
Re: Omg stupid problem!!! - by bijoyekuza - 29.03.2011, 17:25
Re: Omg stupid problem!!! - by xir - 29.03.2011, 17:28
Re: Omg stupid problem!!! - by bijoyekuza - 29.03.2011, 17:43
Re: Omg stupid problem!!! - by xir - 29.03.2011, 17:53
Re: Omg stupid problem!!! - by bijoyekuza - 29.03.2011, 17:58
Re: Omg stupid problem!!! - by xir - 29.03.2011, 18:02
Re: Omg stupid problem!!! - by bijoyekuza - 29.03.2011, 18:04

Forum Jump:


Users browsing this thread: 3 Guest(s)