Help Please Example To Me if u know
#1

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
Reply
#2

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
Reply
#3

2enta 3ayz eih belzabt ?
2ol bal3arby ?
Reply
#4

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

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;
    } 
Reply
#6

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

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]);
Reply
#8

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
Reply
#9

Reply
#10

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)