Hmm ???
#1

This is objects.txt
Код:
1,MID,X,Y,Z,RX,RY,RZ
2,MID,X,Y,Z,RX,RY,RZ
3,MID,X,Y,Z,RX,RY,RZ
How can I Check if(Something is 2) format X Y Z RX RY RZ in front of 2
Reply
#2

WOAH,speak more clearly,please?I kinda don't understand what you mean,you want to read from that file?Use this function: https://sampwiki.blast.hk/wiki/GetObjectRot
Reply
#3

No need to update the file

The first number is an ID

lets say the ID is 1, I want to update X Y Z for the first line
if the number is 3, I want to update X Y Z for the third line
Reply
#4

OH,sorry,I also don't know,and I hardly need this also,for my Vehicle System.To proove I understand what you mean,when the filek is updating,it replaces the first line,right?
Reply
#5

Quote:

The first number is an ID

How do you save the ID?
You need to do same thing for load it,with that variable like saving.
Reply
#6

Never mind
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)