SA-MP Forums Archive
Help Please Example To Me if u know - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help Please Example To Me if u know (/showthread.php?tid=537659)



Help Please Example To Me if u know - FisherMan - 16.09.2014

Hello, Every One
i Have Problems i cant making
Quote:

new Float:checkCoords[MAX_POINTS]

and i dont see in any tut in ******
please if u know it please example to me !
+Rep
Thanks, All
to i want making checkpoints store


Re: Help Please Example To Me if u know - FisherMan - 17.09.2014

Help Please +Rep
i Want making it to i will make much store
Quote:

new Float:checkCoords[MAX_POINTS][4] = {

Quote:

new Float:checkpoints[MAX_POINTS][4] = {

i see it in onther gm to i know this not mixup with interior please help me example to me how to make it +Rep


Re: Help Please Example To Me if u know - Ahmad45123 - 17.09.2014

2enta 3ayz eih belzabt ?
2ol bal3arby ?


Re: Help Please Example To Me if u know - FisherMan - 17.09.2014

Any One Know How To Make Checkpoints + interior not Mixup With Onther interior
Any Way !
Please Example it to me +Rep


Re: Help Please Example To Me if u know - FisherMan - 17.09.2014

See its From Onther Server And its not mixup the interior if u know this way please example it to me how to make it or any way not mixup the interior thanks,
PHP Code:
#define MAX_POINTS 44
//Checkpoint defines
#define CP_SFPDEnt 0
//Variables
new Float:checkCoords[MAX_POINTS][4] = {
{
238.6099,144.4926,1003.0234,357.6617}, //SFPDEnt
};
new 
Float:checkpoints[MAX_POINTS][4] = {
{
248.4119,108.9428,1003.2188,3.0}, //SFPDEnt
new checkpointType[MAX_POINTS] = {
CP_SFPDEnt
};
public 
OnPlayerEnterCheckpoint(playerid)
{
    if(
getCheckpointType(playerid) == CP_SFPDEnt)
    {
        if(
IsPlayerInAnyVehicle(playerid))
        {
            
SendClientMessage(playerid,COLOR_ERROR,"You must exit your vehicle before entering a checkpoint.");
            return 
1;
        }
        
SetPlayerInterior(playerid,10);
        
SetPlayerPos(playerid,246.8460,114.5714,1003.2188);
        
SetPlayerFacingAngle(playerid,359.8049);
        
SetCameraBehindPlayer(playerid);
        return 
1;
    } 



Re: Help Please Example To Me if u know - FisherMan - 17.09.2014

lol no one in samp know how to make checkpoint not mixup lol
Help +Rep


Re: Help Please Example To Me if u know - ranme15 - 17.09.2014

Is that what you mean?

pawn Code:
enum CPData
{
    Float: X,
    Float: Y,
    Float: Z,
    Float: Angle,
}

new Float: checkCoords[MAX_POINTS][CPData] = {
{238.6099, 144.4926, 1003.0234, 357.6617},
};
Usage:
pawn Code:
SetPlayerPos(playerid, checkCoords[0][X], checkCoords[0][Y], checkCoords[0][Z]);
SetPlayerFacingAngle(playerid, checkcoords[0][Angle]);



Re: Help Please Example To Me if u know - FisherMan - 17.09.2014

Not Float Lol i know the float how to make it
i want making interior not mixup with other interior how !
to i will making much interior
+Rep For Tell Me Any Way Making The Checkpoints And Not Mixup


Re: Help Please Example To Me if u know - Stinged - 17.09.2014




Re: Help Please Example To Me if u know - FisherMan - 17.09.2014

Quote:
Originally Posted by Stinged
View Post
u know how to make checkpoints but not mixup interior
any way u have it please example it here