Help with OnPlayerEnterVehicle and Operators ...
#1

Buenas a Todos, Ayuda con esto...

So it works perfectly:
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    if(!ispassenger)
    {
        if(vehicleid == variablevehiculo)
        {
            if(!Variable[playerid])  //<------------
            {
                //SendClientMessage ...
            }
            return 0;
        }
    }
    return 1;
}
put another variable and no longer works.
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    if(!ispassenger)
    {
        if(vehicleid == variablevehiculo)
        {
            if(!Variable[playerid] && !VariableNew[playerid]) //<------------
            {
                //SendClientMessage ...
            }
            return 0;
        }
    }
    return 1;
}
I can say that happens?.
Thanks in advance.

sorry for my English.
Reply


Messages In This Thread
Help with OnPlayerEnterVehicle and Operators ... - by OTACON - 17.01.2013, 02:51
Re: Help with OnPlayerEnterVehicle and Operators ... - by Diorturato - 17.01.2013, 03:04

Forum Jump:


Users browsing this thread: 1 Guest(s)