Checkpoint Help
#1

pawn Код:
else if(pickupid == gunshop[1])
pickupid im changed pickup to checkpoint what im put in "pickupid"
Reply
#2

you'll have to use a player variable that changes on "OnPlayerEnterCheckpoint"..
e.g. if checkpoint[playerid] == 1 then blablablala + checkpoint[playerid] = 2; you get what I mean?


edit: btw incognito's streamer plugin as checkpoint IDs on the dynamic checkpoints I guess.. I'm not sure about this though and don't want to make false hopes... so you'd need to check that before^^
Reply
#3

im say this here
pawn Код:
if(pickupid
Reply
#4

https://sampwiki.blast.hk/wiki/OnPlayerPickUpPickup
Reply
#5

yes i need to make that to checkpoint how ?
Reply
#6

didn't I just say this?
as there is no "checkpointid" you'll have to check either for a player variable like:
checkpoint[MAX_PLAYERS];

or just IsPlayerInRangeOfPoint....
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)