GetPlayerCheckPoint
#1

I know their is one, could someone give it to me?

I mean in the way of:

CheckPoint122 = SetPlayerCheckPoint(bla,bla,bla,bla,bla,bla,bla
So i can do getPlayerCheckpoint(CheckPoint122)
or, if(GetPlayerCheckpoint = CheckPoint122


Thank you.
Reply
#2

By default, you only can have one Checkpoint at a time. If you want to have more, you need to use a streamer FS/plugin
Reply
#3

You can keep checkpoint ids in an array, but there is no GetPlayerCheckPoint.

pawn Код:
new CheckPointId[MAX_PLAYERS];
pawn Код:
CheckPointId[playerid] = SetPlayerCheckPoint(bla,bla,bla,bla,bla,bla,bla
CheckPoint122 =CheckPoint[playerid]
Reply
#4

Like I said yesterday in another topic, this will have NO effect as SetPlayerCheckpoint does NOT return an id, unlike CreatePickup for example.
Reply
#5

thats why i Gave Information, since it IS possible to do: CheckPoint1 = SetPlayerCheckpoint...


And yes, i know i can only do one at a time.
Reply
#6

- Nevermind, I remembered SetPlayerCheckpoint doesn't return a value. Anyway, it doesn't matter, you can't use multicheckpoints so it doesn't matter.
Reply
#7

Again, i was never talking about "Multicheckpoints" i am talking about only ONE. witch is an 1.
Reply
#8

Quote:
Originally Posted by DragonBlaster50
Посмотреть сообщение
Again, i was never talking about "Multicheckpoints" i am talking about only ONE. witch is an 1.
Then there's no point of getting it when there is only one checkpoint.
Reply
#9

Their is, Let me show you my OnPlayerEnterCheckpoint,
http://leelad.pastebin.com/sGH44JRD

I need a function like GetPlayerCHeckPoint so i can continue, or you know a way to Define another Checkpoint?
Reply
#10

use ++; thing, let I show you what I mean

on top
new PlayerCP[MAX_PLAYERS];

somewhere
SetPlayerCheck....
PlayerCP[playerid] = 1;

on player enter cp

if PlayerCP[playerid] >= 1)
{
PlayerCP[playerid]++;
SetPlayerCheckp
}


got it?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)