ZCMD error
#2

pawn Код:
if(GetVehicleModel(VID)==596 || GetVehicleModel(VID)==523 || GetVehicleModel(VID)==599)//it needs to be "||"
{
    if(oldkeys & KEY_CROUCH && newkeys & KEY_CROUCH)
    {
        return 0;
    }
    else if(newkeys & KEY_CROUCH)
    {
        return cmd_siren(playerid, params[0]);//the params holds an Array!
    }
}
it needs to be "||" you cant be in multiple vehicles once.
edit
if this cmd doesn't have any parameters then why have the params ?
pawn Код:
COMMAND:siren(playerid)
{
//cmds stuff
}

//Then use it likes this with the reurn
return cmd_siren(playerid);
Reply


Messages In This Thread
ZCMD error - by PDChaseOfficial - 17.12.2012, 17:07
Re: ZCMD error - by park4bmx - 17.12.2012, 19:31
Re: ZCMD error - by Konstantinos - 17.12.2012, 19:33

Forum Jump:


Users browsing this thread: 1 Guest(s)