19.08.2011, 18:09
Ok So Guys i made a caravan dealership but when u buy it u can buy it anywhere and i dont want that i want it to be at the cords (Cords and code below) and i want it to attach to ANY car but i can only get it to attach to the landstalker i had to define in the script so i need ur help to correct my script for me
im having alot of problems with this script
1. I Can Buy My Caravan ANYWHERE.
2. it only attaches to the landstalker.
3. i want it to attach to ANY Car but it wont
.
I Hope Someone Can Help
Regards
[Nuclear]Phoebe
(P.S. AnyOne Can Use This Script as long as i get credits)
Код:
under #include <a_samp>
new C1;
new CC1;
then under OnPlayerCommandText;
if(strcmp(cmdtext,"/BC", true) == 0)
{
if(IsPlayerInRangeOfPoint(playerid, 1.00, 311.23, -1809.30, 3.48))
AttachObjectToVehicle(C1, CC1, 0, -7, -1.3, 0, 0, 0);
SendClientMessage(playerid, Yellow,"You Have Brought A Caravan For $5000");
GivePlayerMoney(playerid, -5000);
return 1;
}
return 1;
}
under OnGameModeInti();
C1 = CreateObject(3175, 311.23, -1809.30, 3.48, 0.00, 0.00, 0.00);
CC1 = CreateVehicle(400, 562.4244, -1392.7576, 14.8738, 0.0000, -1, -1, 100);
1. I Can Buy My Caravan ANYWHERE.
2. it only attaches to the landstalker.
3. i want it to attach to ANY Car but it wont
.I Hope Someone Can Help
Regards
[Nuclear]Phoebe
(P.S. AnyOne Can Use This Script as long as i get credits)



)