attaching Objects
#1

i have made some vehicle attaching objects

but those objects attaching to other cars too automatically O.o

possible to help me ? is anything wrong in my cmd ? see

Код:
 if (strcmp(cmdtext, "/turttle", true) == 0){
    new iamturttle = CreateObject(1609,0,0,-1000,0,0,0,100);
    AttachObjectToVehicle(iamturttle, GetPlayerVehicleID(playerid), -0.075000,0.000000,0.824999,0.000000,0.000000,0.000000);
    return 1;}
Reply
#2

pawn Код:
if (strcmp(cmdtext, "/turttle", true) == 0){
    new carid = GetPlayerVehicleID(playerid);
    SetPVarInt(playerid, "turtlle",CreateObject(1220,0,0,0,0,0,0,100));
    AttachObjectToVehicle(GetPVarInt(playerid, "turtlle"), carid, -0.004999, 0.544999, 0.264999, 0.000000, 0.000000, 0.000000);
    return 1;}
Reply
#3

can you tell me what is the problem ?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)