Define Checkpoint
#1

I'm making some missions for the "pizza pony"

How could i define a checkpoint?

/Startmissions : CreateCheckpoint: Checkpoint Name: = Pizza 1 And on player enter checkpoint give him 100$ ?
Reply
#2

new checkpointid; // at top of gamemode.

checkpointid = createcheckpoint.... // ongamemodeinit

onplayerpickupcheckpoint:
Код:
if(pickup == checkpointid)
{
    //100$
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)