Vehicle help
#3

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
new name;
if(vehicleid == 500 && 501)
{
GetPlayerName(playerid, name, sizeof(name));
if(name == Thomas_Coron)
{
return 1;
}else RemovePlayerFromVehicle(playerid);
}
return 1;
}


You can sort the indentation out, I'v never used getplayername before but in theory that should work.
Reply


Messages In This Thread
Vehicle help - by loT4r - 07.04.2009, 09:51
Re: Vehicle help - by Klutty - 07.04.2009, 09:55
Re: Vehicle help - by NeRoSiS - 07.04.2009, 09:59
Re: Vehicle help - by BMUK - 07.04.2009, 10:07
Re: Vehicle help - by NeRoSiS - 07.04.2009, 10:23
Re: Vehicle help - by BMUK - 07.04.2009, 10:39
Re: Vehicle help - by bernas - 07.04.2009, 10:42
Re: Vehicle help - by NeRoSiS - 07.04.2009, 10:47
Re: Vehicle help - by loT4r - 07.04.2009, 10:55
Re: Vehicle help - by NeRoSiS - 07.04.2009, 10:58

Forum Jump:


Users browsing this thread: 3 Guest(s)