14.12.2010, 07:31
Na, still happens, and heres my SpecUpdate, thanks for helping btw.
pawn Код:
forward SpecUpdate(playerid, id);
public SpecUpdate(playerid, id)
{
if(IsPlayerInAnyVehicle(id) && IsIn[playerid] != CAR) {
PlayerSpectateVehicle(playerid, GetPlayerVehicleID(id));
IsIn[playerid] = CAR;
}
else if(!IsPlayerInAnyVehicle(id) && IsIn[playerid] != ONFOOT) {
PlayerSpectatePlayer(playerid, id);
IsIn[playerid] = ONFOOT;
}
return 1;
}