I need help in adding cp -
_Mohit_ - 12.01.2013
//Variables
new Float:checkCoords[MAX_POINTS][4] = {
{-1623.6704,710.2758,-1595.5138,726.3750}, //SFPDEnt
{233.7716,107.9433,259.8581,122.0880}, //SFPDExit
{-1628.7830,672.2675,-1586.4739,691.8566}, //DropOff
{-1527.6946,868.8881,-1492.1344,955.5516}, //BankEnt
{2304.6948,-17.3057,2312.3196,-13.2586}, //BankExit
{2311.6550,-13.6536,2316.6047,-0.1508}, //BankMain
new Float:checkpoints[MAX_POINTS][4] = {
{-1605.5288,712.4097,13.8714,3.0}, //SFPDEnt
{246.4093,109.0884,1003.2188,3.0}, //SFPDExit
{-1606.3319,673.9650,-5.2422,3.0}, //DropOff
{-1493.4175,920.0615,7.1875,3.0}, //BankEnt
{2305.5889,-16.2092,26.7496,3.0}, //BankExit
{2315.8198,-7.2530,26.7422,3.0}, //BankMain
how can i add new cp's to it....i have the cords but i cant make out what i should add in the first one..
Re: I need help in adding cp -
_Mohit_ - 12.01.2013
<map edf:definitions="editor_main">
<object id="object (samsite_SFXRF) (1)" interior="0" alpha="255" doublesided="false" model="3884" scale="1" dimension="0" posX="-1480.30005" posY="920" posZ="69.5" rotX="0" rotY="0" rotZ="90"></object>
<marker id="marker (cylinder) (1)" type="cylinder" color="#FF0000FF" size="1.3999999761581" interior="0" dimension="0" alpha="255" posX="-1721.40002" posY="1359.69995" posZ="6.1" rotX="0" rotY="0" rotZ="0"></marker>
<marker id="marker (cylinder) (2)" type="cylinder" color="#FF0000FF" size="1.3999999761581" interior="5" dimension="0" alpha="255" posX="372.39999" posY="-133.89999" posZ="1000.40002" rotX="0" rotY="0" rotZ="0"></marker>
<marker id="marker (cylinder) (3)" type="cylinder" color="#FF0000FF" size="3" interior="5" dimension="0" alpha="255" posX="376.89999" posY="-115.9" posZ="1000.4129" rotX="0" rotY="0" rotZ="0"></marker>
</map>
this is the pos of cp i wanted to add
Re: I need help in adding cp -
Typhome - 12.01.2013
https://sampwiki.blast.hk/wiki/Function:SetPlayerCheckpoint
SetPlayerCheckpoint(playerid, checkpoints[X][0], checkpoints[X][1], checkpoints[X][2], checkpoints[X][3]);
// Oh, i've misunderstood. You must convert it. Maybe try convertffs.com or manually copy-paste those coords and put into array.
Re: I need help in adding cp -
_Mohit_ - 12.01.2013
i want to add it for robbery place...will it work?
Re: I need help in adding cp -
_Mohit_ - 12.01.2013
i need to create more than 10 cp's...Please help me!
Re: I need help in adding cp -
JaKe Elite - 12.01.2013
No it won't work.
Use streamer to create more checkpoints.
And no don't pm me this time.
I know most of the people i help always pm me to help them.
Re: I need help in adding cp -
_Mohit_ - 12.01.2013
ok..i am new to scripting..can you explain it a bit?
Re: I need help in adding cp -
Horrible - 12.01.2013
Quote:
Originally Posted by _Mohit_
<map edf:definitions="editor_main">
<object id="object (samsite_SFXRF) (1)" interior="0" alpha="255" doublesided="false" model="3884" scale="1" dimension="0" posX="-1480.30005" posY="920" posZ="69.5" rotX="0" rotY="0" rotZ="90"></object>
<marker id="marker (cylinder) (1)" type="cylinder" color="#FF0000FF" size="1.3999999761581" interior="0" dimension="0" alpha="255" posX="-1721.40002" posY="1359.69995" posZ="6.1" rotX="0" rotY="0" rotZ="0"></marker>
<marker id="marker (cylinder) (2)" type="cylinder" color="#FF0000FF" size="1.3999999761581" interior="5" dimension="0" alpha="255" posX="372.39999" posY="-133.89999" posZ="1000.40002" rotX="0" rotY="0" rotZ="0"></marker>
<marker id="marker (cylinder) (3)" type="cylinder" color="#FF0000FF" size="3" interior="5" dimension="0" alpha="255" posX="376.89999" posY="-115.9" posZ="1000.4129" rotX="0" rotY="0" rotZ="0"></marker>
</map>
this is the pos of cp i wanted to add
|
you need convert it first if you using MTA open this to convert it
http://convertffs.com/
(Sry misunderstood)
Re: I need help in adding cp -
JaKe Elite - 12.01.2013
Quote:
Originally Posted by _Mohit_
ok..i am new to scripting..can you explain it a bit?
|
Streamer:
You can add checkpoints, mapicons, pickupids and some new function such as CreateDynamicSphere...
without limits. Now a days scripts use this. I recommend you to use this for your Robbery Checkpoints.
Re: I need help in adding cp -
Horrible - 12.01.2013
Quote:
Originally Posted by Romel
Streamer:
You can add checkpoints, mapicons, pickupids and some new function such as CreateDynamicSphere...
without limits. Now a days scripts use this. I recommend you to use this for your Robbery Checkpoints.
|
Quote:
Originally Posted by _Mohit_
it dosent convert cp's..i will pick the x,y and z cord...what should i do now?
|
As romel said before you must use streamer
https://sampforum.blast.hk/showthread.php?tid=102865 Icognito streamer i recommended because this is easy to use and understand
Re: I need help in adding cp -
_Mohit_ - 12.01.2013
ok..let me try
Re: I need help in adding cp -
Horrible - 12.01.2013
Quote:
Originally Posted by _Mohit_
ok..let me try
|
OOT (You dont have to say that.. you reply when you get some problem or ask other question.
This is forum not ********)
Re: I need help in adding cp -
mittukuttan - 12.01.2013
THis is the coverted thing
CreateObject(3884,-1480.3000500,920.0000000,69.5000000,0.0000000,0.00 00000,90.0000000); //object(samsite_sfxrf) (1)