I am REALLY new to this, and ive been trying learn how to code in C/C++ , i have a little bit of a clue of what im doing,but not much. I just wanted to know if im doing this right. Ive been reading tutorials on how to do C/C++ so yes i am most def. a beginner, and i was just messing around with stuff, just to see if it was correct, so yeah. All i did was copy the "otmp" and all that and put in the DELETE_OBJECT and change the object hash(its a car now). Thats all, and i wanted to know if it was correct. If not, can you please show me.
Thanks
PHP Code:if(DOES_CHAR_EXIST(players[index].ped)){
Object otmp;
CREATE_OBJECT(0x2560B2FC,0.0,0.0,0.0,&otmp,true);
ATTACH_OBJECT_TO_PED(otmp,players[index].ped,0,0.0,0.0,-0.11,0.0,0.0,3.0,false);
// IS THE CODE BELOW THIS EVEN CLOSE TO BEING CORRECT??????????
DELETE_OBJECT_FROM_PED(otmp,players[index].ped,0,0.0,0.0,-0.11,0.0,0.0,3.0,true);
WAIT(10);


2Likes
LinkBack URL
About LinkBacks





