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