#1

how can I save cars with Dini? i.e I bought a Car with a CMD and did "CreateVehicle"

How can I save this bought vehicle now?
Reply
#2

But with Dini please
Reply
#3

Can't you just save the model ID of the vehicle you bought into your playerfile?

pawn Код:
dini_IntSet( PathToPlayerFile, "Vehicle", ModelIDForVehicle );
Then on spawn (or command) just CreateVehicle with that model
pawn Код:
dini_Int( PathToPlayerFile, "Vehicle" );
My dIni knowledge is a bit rusty, so I'm sorry if the syntax is somewhat incorrect.
Reply
#4

dini_IntSet(Spielerdatei,"Vehicle",GetPlayerVehicl eID(playerid));

Like this?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)