Help with markers.
#1

1. How do i create a checkpoint / red marker ?
2. If i create 2 at a time, how will Pawno know which one i mean when it comes to "OnPlayerEntercheckpoint"?
Reply
#2

Quote:
Originally Posted by Y_Leѕѕ
You can't create two at once - that's how it knows which one it is.
Yes you can, i saw on some servers. There were like 200 businesses/houses!
Each house/business had a marker at the front door.
Reply
#3

Ok look, lets say i put 3 checkpoints. Every single one something different happens when you enter it.

You can only put one of these.

Code:
public OnPlayerEnterCheckpoint(playerid)
{
  GivePlayerMoney(playerid, 1000);
  SetPlayerInterior(playerid,3);
  DisablePlayerCheckpoint(playerid);
  return 1;
}
Reply
#4

look at wiki for checkpoints its not so hard
Reply
#5

https://sampwiki.blast.hk/wiki/SetPlayerCheckpoint
https://sampwiki.blast.hk/wiki/OnPlayerEnterCheckpoint
http://forum.sa-mp.com/index.php?topic=117264.0
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)