Problem
#1

Hey all.
Why does this only works for rent1?

pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    new v;
    v = rent1||rent2;
    if ((newstate == PLAYER_STATE_DRIVER))
    {
        if(GetPlayerVehicleID(playerid) == v )
        {
       
        ShowPlayerDialog(playerid,RENT,DIALOG_STYLE_MSGBOX,"Vehicle Rent","Do you want to rent this vehicle for $100?","Yes","No");
        }
    }

    return 1;
}
Reply


Messages In This Thread
Problem - by bartje01 - 26.06.2011, 17:55
Re: Problem - by Wesley221 - 26.06.2011, 18:44
Re: Problem - by bartje01 - 26.06.2011, 18:47

Forum Jump:


Users browsing this thread: 1 Guest(s)