07.04.2009, 10:58
I know, im working on it im working on it.
Did what BM said to do, it failed aswell.
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
if(vehicleid == 500 || 501)
{
if(strcmp(name, "Thomas_Coron", true))
{
return 1;
}else RemovePlayerFromVehicle(playerid);
}
return 1;
}
Unless im getting something wrong, why dont you help BM seeing as you can give a hint.
Did what BM said to do, it failed aswell.
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
if(vehicleid == 500 || 501)
{
if(strcmp(name, "Thomas_Coron", true))
{
return 1;
}else RemovePlayerFromVehicle(playerid);
}
return 1;
}
Unless im getting something wrong, why dont you help BM seeing as you can give a hint.