Using LCS Checkpoint Streamer
#1

Hello All.

I'm Currently Knew to Pawno & SAMP Altogether.
Although im Decent with Pawno Because, i Know C++ & Direct3D. (D3D)
Yes' Ill Admit i Used to Code Personal Hacks << Before you Yell and Scream, i Quit That - I Know its Lame.. Lame..

Been On This New->File Script for 2 Days :P

2,398 Lines Completed :P Yip Yap!

Now, I'm Looking to Add Checkpoint's around Los Santos.


Now I'm Using LCS Streamer,

How Would i Go About Creating a Checkpoint?


What Callback/Function Would i put it?

Here's What ive Got So Far

Код:
public LCS_OnPlayerEnterCheckpoint(playerid,checkpointid)
{
	LSCITYHALL_ENTER = LCS_CreateCheckpoint(1481.0625,-1772.3118,18.7958,2.0);
	LSCITYHALL_EXIT  = LCS_CreateCheckpoint(369.6839,153.7510,409.6839,2.0);
	LSCITYHALL_INFO  = LCS_CreateCheckpoint(342.8807,153.7301,382.8807,2.0);
	return 1;
}
So...? Anyone Tell me how to Use this Streamer?

First Streamer ive Ever Used on Samp <3

Cheers iiKyle
Reply
#2

Try using this streamer:
https://sampforum.blast.hk/showthread.php?tid=102865

Place them under OnGameModeInit

pawn Код:
LSCITYHALL_ENTER = CreateDynamicCP(1481.0625,-1772.3118,18.7958,2.0);
LSCITYHALL_EXIT  = CreateDynamicCP(369.6839,153.7510,409.6839,2.0);
LSCITYHALL_INFO  = CreateDynamicCP(342.8807,153.7301,382.8807,2.0);
Reply
#3

But Dont you need all that Checkcords, Stuff and Shit?
Reply
#4

Quote:
Originally Posted by iiKyle
Посмотреть сообщение
Stuff and Shit?
Can you explain?
Reply
#5

OnPlayerEnterDynamicCheckpoint becomes a reality...


hang on, Your codes weird... You "enter" a checkpoint to have one made? yet it makes 3...

Those should be ongamemodeinit or something.

The checkpoint has to be made for it to be made. That also does it for every checkpoint, and for every player.
Reply
#6

@MadeMan

Quote:

#define CP_WellStacked 48

new playerCheckpoint[MAX_PLAYERS];
new Float:checkpoints[MAX_POINTS][4] = {
{-28.100069,-89.627357,1003.5469,3.0}, //69 Cent STore
{246.375991,109.245994,1003.218750, 3.0}, //SFPD Exit

Sew, I Only just Released that Lmao....

Yes i want it to Startup when Gamemode Starts 'LOL',
Cheers i Tottally Ignored that, Thanks Alot!
Reply
#7

LOL XD
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)