'SERVER: Unknown command' after used DestroyVehicle();
#2

Quote:
Originally Posted by Faust
So I have this little function in my gamemode:
Code:
public OnPlayerDeath(playerid)
{
	DestroyVehicle(Veh[playerid]);
}
But after it's used/when player has died, none of commands work. When I type a command I get this error 'SERVER: Unknown command.'
Why it's that?
pawn Code:
public OnPlayerDeath(playerid)
{
    DestroyVehicle(Veh[playerid]);
return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)