07.04.2009, 10:07
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. |
In future, try and COMPILE any code you think will work

