Vehicle help
#4

Quote:
Originally Posted by NeRoSiS
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.
He will need to sort out alot more than indentation ya fucking noob. You helped nobody by posting this random shit

In future, try and COMPILE any code you think will 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: 1 Guest(s)