29.02.2012, 09:52
Hello SA-MP Forums.
I'm New to the Forum, and GTA Scripting in General.
Ive had a Look at PAWNO, And Thought "Yep Based of C++"
My Background is C++,Direct3D9,Direct3D8,Java.
So Ive got a Fair Whack of Knowledge on What I'm Doing.
Now im Starting from Scratch on a Cops & Robbers Gamemode. (Credit due where Needed)
Based in LS.
Now, Ive Got a Few Checkpoints Streamed, I Have 5 Currently, I Hope to Have Over 40 - 50 in a Week or So.
But Ive Seem to Run into a Brick Wall.
My Current Coding(s) for the Checkpoints Are... Just Streaming, No Coding when you Go into the Checkpoint,
Now that is my Code, I Play GTA-SA on my Local Host (127.0.0.1efault(7777))
I Go Into the Police Station with the Yellow Marker (Already their by Default and Enters me to LSPD Interior by Default)
Now,
These Checkpoints Are Working Fine.
But, The Rest are Not Working.
I've Tried Redoing the Coordinates, But with no Luck.
I'm Really at Rockbottom, Im Stumped as to What the Issue is.
Cheers Ricey.
-------------
PS: Sorry for My Capitals Habbit :3
I'm New to the Forum, and GTA Scripting in General.
Ive had a Look at PAWNO, And Thought "Yep Based of C++"
My Background is C++,Direct3D9,Direct3D8,Java.
So Ive got a Fair Whack of Knowledge on What I'm Doing.
Now im Starting from Scratch on a Cops & Robbers Gamemode. (Credit due where Needed)
Based in LS.
Now, Ive Got a Few Checkpoints Streamed, I Have 5 Currently, I Hope to Have Over 40 - 50 in a Week or So.
But Ive Seem to Run into a Brick Wall.
My Current Coding(s) for the Checkpoints Are... Just Streaming, No Coding when you Go into the Checkpoint,
Код:
#define CP_LSPD_ENTRANCE_BACK 1 /* LSPD | Entrance Back */ #define CP_LSPD_BACK_ENTRANCE 2 /* LSPD | Back Entrance */ #define CP_LSPD_POLICE_DESK 3 /* LSPD | Police Desk */ #define CP_LSPD_PATROL_OFFICE 4 /* LSPD | Patrol Office */ #define CP_POLICE_GARAGE 5 /* LSPD | Police Garage */ #define MAX_POINTS 5 };
Код:
new playerCheckpoint[MAX_PLAYERS]; new Float:checkpoints[MAX_POINTS][4] = { {242.2518,66.3280,1003.6406,1.5}, /* LSPD | Entrance Back */ {1578.6135,-1689.9702,6.218,1.5}, /* LSPD | Back Entrance */ {238.0899,73.2602,1005.0391,1.5}, /* LSPD | Police Desk */ {1579.4926,-1635.7036,13.5606,1.5}, /* LSPD | Patrol Office */ {1560.5492,-1694.2672,5.8906,1.5} /* LSPD | Police Garage */ };
Код:
new Float:checkCoords[MAX_POINTS][4] = { {242.2518,66.3280,1003.6406,90.6867}, /* LSPD | Entrance Back */ {1568.6135,-1689.9702,6.2188,358.0890}, /* LSPD | Back Entrance */ {238.0899,73.2602,1005.0391,179.6976,}, /* LSPD | Police Desk */ {1579.4926,-1635.7036,13.5606,336.8523}, /* LSPD | Patrol Office */ {1560.5492,-1694.2672,5.8906,357.4623} /* LSPD | Police Garage */ }; new checkpointType[MAX_POINTS] = { CP_LSPD_ENTRANCE_BACK, /* LSPD | Entrance Back */ CP_LSPD_BACK_ENTRANCE, /* LSPD | Back Entrance */ CP_LSPD_POLICE_DESK, /* LSPD | Police Desk */ CP_LSPD_PATROL_OFFICE, /* LSPD | Patrol Office */ CP_POLICE_GARAGE /* LSPD | Police Garage */ };
I Go Into the Police Station with the Yellow Marker (Already their by Default and Enters me to LSPD Interior by Default)
Now,
These Checkpoints Are Working Fine.
Код:
/* LSPD | Police Desk */ /* LSPD | Entrance Back */
I've Tried Redoing the Coordinates, But with no Luck.
I'm Really at Rockbottom, Im Stumped as to What the Issue is.
Cheers Ricey.
-------------
PS: Sorry for My Capitals Habbit :3