29.06.2009, 09:26
Код:
public OnGameModeExit() { for(new k = 0; k < MAX_PLAYERS; k++) { new string[128]; new Float:X, Float:Z, Float:Y; new currentveh; currentveh = GetPlayerVehicleID(k); GetVehiclePos(currentveh, X, Y, Z); new File:pos=fopen("vehicles.txt", io_write); format(string, 256, "GetVehiclePos(0, %f, %f, %f);", X, Y, Z); fwrite(pos, string); fclose(pos); } return 1; }