15.08.2013, 14:05
Assim fica bem mais fбcil:
pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(IsPlayerInVehicle(playerid, variavelcarro) || IsPlayerInVehicle(playerid, variavelcarro) || IsPlayerInVehicle(playerid, variavelcarro))
{
if(variavelfamilia == 0)
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid, Erro, "[ ERRO ] {FFFFFF}Coiso!");
}
else return 1;
}
return 1;
}