21.10.2009, 12:42
Thanks for how to know to search
I now have this:
But now my questions;
how to save in a file (no names; like dini)
how to load all lines in the file in: public OnGameModeInit()
I now have this:
pawn Код:
new StringInF[256], carid, Float:CX, Float:CY, Float:CZ, Float:CA;
carid = GetVehicleModel(GetVehicleID(playerid));
GetPlayerPos(playerid, Float:CX, Float:CY, Float:CZ);
GetPlayerFacingAngle(playerid, Float:CA);
format(StringInF, sizeof(StringInF), "AddStaticVehicle(%d, %f, %f, %f, %f, 0, 0);", carid, Float:CX, Float:CY, Float:CZ, Float:CA);
how to save in a file (no names; like dini)
how to load all lines in the file in: public OnGameModeInit()