Problem with exit from vehicle
#1

Hi, I want to do, that if player is secured with belt, he wouldn't get out from vehicle. But always he can exit from vehicle.

I try:
Код:
public OnPlayerExitVehicle(playerid, vehicleid)
{
if(dirzas[playerid]==1)
{
   SendClientMessage(playerid,RED,"You are with belt!");
   return 0;
}
else
{
dirzas[playerid]=0;
return 1;
}
}
Код:
public OnPlayerExitVehicle(playerid, vehicleid)
{
if(dirzas[playerid]==1)
{
   SendClientMessage(playerid,RED,"You are with belt!");
   return 0;
}
else
{
dirzas[playerid]=0;
return 1;
}
return 0;
}
Код:
public OnPlayerExitVehicle(playerid, vehicleid)
{
if(dirzas[playerid]==1)
{
   SendClientMessage(playerid,RED,"You are with belt!");
   return 0;
}
else
{
dirzas[playerid]=0;
return 1;
}
    return 1;
}
Thanks.
Reply


Messages In This Thread
Problem with exit from vehicle - by deimantas1 - 18.08.2013, 12:47
Re: Problem with exit from vehicle - by Edix - 18.08.2013, 13:06
Re: Problem with exit from vehicle - by Youarex - 18.08.2013, 13:27
Re: Problem with exit from vehicle - by Edix - 18.08.2013, 13:33
Re: Problem with exit from vehicle - by Youarex - 18.08.2013, 14:28
Re: Problem with exit from vehicle - by deimantas1 - 18.08.2013, 14:43
Re: Problem with exit from vehicle - by Paul1990 - 18.08.2013, 14:44

Forum Jump:


Users browsing this thread: