13.09.2009, 03:20
i got this :
When im a COP and i enter the car nothing happen.. i dont see the You Are Now In A Police Car. And when i'm not a COP and i enter the police car nothing happen... it doesn't remove me from the vehicle.. why?
Sorry for my bad English!
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(IsPlayerInAnyVehicle(vehicleid) == 598)
{
if(COP[playerid] == 1)
{
SendClientMessage(playerid, 0xFF9900AA, "SendClientMessage(playerid, 0xFF9900AA, "You Are Now In A Police Car.");
}
else
{
RemovePlayerFromVehicle(playerid);
}
}
Sorry for my bad English!