public OnPlayerUpdate(playerid){ if(IsPlayerInAnyVehicle(playerid)) { JarmuAdat[GetPlayerVehicleID(playerid)][MegtettUt] += GetPlayerDistanceFromPoint(playerid, JatekosAdat[playerid][ElozoX], JatekosAdat[playerid][ElozoY], JatekosAdat[playerid][ElozoZ]); } GetPlayerPos(playerid, JatekosAdat[playerid][ElozoX], JatekosAdat[playerid][ElozoY], JatekosAdat[playerid][ElozoZ]);}
public OnPlayerConnect(playerid){ GetPlayerPos(playerid, JatekosAdat[playerid][ElozoX], JatekosAdat[playerid][ElozoY], JatekosAdat[playerid][ElozoZ]);}