Filterscript Help Request - VehicleObjectAttacher
#1

Dear SAMP Members,

I am a newbie scripter and i really need your help!I found this vehicle object attacher (filescript),but in order to save the attached objects there must be an RCON admin online who will export all the data to the "scriptfiles" folder,is there any way to make it save the data automatically?

The main problem is that i dont have a rcon cmd on my gamemode,and also that i cant trust all the admins much enough to provide them the rcon pwd details.

Thank you in advance for reading my topic!! I appreciate it!!

Best regards,
George
Reply
#2

run a timer saving the files e.g. 10 sec
Reply
#3

Mate,as U mentioned I am a newbie developer,with lack of scripting knowledge can you help me?
Reply
#4

ok you use the cmd /vexport to save so just run a timer

pawn Код:
//put it under OnFilterScriptInit
SetTimer("saveVeh", 10000, true);//every 10 sec


//put it somewhere in the bottume
forward saveVeh();
public saveVeh()
{
return cmd_vexport(playerid, params);
}
Reply
#5

And it will automatically save the objects?
Reply
#6

Quote:
Originally Posted by geohareas
Посмотреть сообщение
And it will automatically save the objects?
it should yes, if that cmds saves the objects.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)