making your script to upload files wich include vehicles, objects etc.
#1

Hello there,

In sa-mp 0.3 grandlarc gamemode script i saw lines like these;

Code:
new total_vehicles_from_files=0;
and in FS these
Code:
#define PROPERTY_FOLDER	"properties" // Location of properties file
#define PROPERTY_UNIQID_FILE  "properties/uniqId.txt" // Location of Uniq Interior Info
#define DB_PROPERTIES  "properties/dbProperties.db" // Location of the properties Database
So i tried to add vehicles from a file using the total_vehicles line and it works perfectly.
Now i tried to do the same with objects streamed checkpoints and pickups wich i cant make it to work.
If its possible
Can someone please show me how that works ? i couldnt find a nice tutor or something .

Thanks for any help given
Reply
#2

you can't just copy/paste.. you need to edit it right.
Reply
#3

Quote:
Originally Posted by gamer_Z
you can't just copy/paste.. you need to edit it right.
I didnt
I edited it like with some logic but i just dont know i'm doing it right or if i'm missing something but i guess objects and pickups are possible to upload to.
Reply
#4

Are you referring to reading .cfg files that can be called when the gamemode starts so you don't have to put it all into the script itself?
Reply
#5

yes or a txt document that the script gets directly from the scriptfiles folder
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)