Hey,
hab nochmal nen kleinen Fehler, bekomme folgenden Error bei GetDistanceFromToPoint:
Zitaterror 035: argument type mismatch (argument 4)
public Check_VEHICLE()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(GetPlayerState(i) == PLAYER_STATE_DRIVER)
{
new Float: X, Float: Y, Float: Z;
GetPlayerPos(i, X,Y,Z);
if(GetDistanceFromMeToPoint(X,Y,Z, 10))
{
PauseRecordingPlayback();
}
else
{
ResumeRecordingPlayback();
}
}
}
}
}