Jump to content
  • 0

ceckpoint-uri


Rimmon

Question

2 answers to this question

Recommended Posts

Bun.

[pawn]public OnGameModeInit( )

{

NumeCp[ 1 ] = CreatePickup( 1239, 23,  422.5909,2478.0986,16.4922 );

   

        return ( 1 );

}

public OnPlayerPickUpPickup( playerid, pickupid )

{

    if ( pickupid == NumeCp[ 1 ] )

    {

SetPlayerPos( i, X, Y, Z );

        // S-au ce vrei tu sa faca Checkpointul ala.

    }

}

[/pawn]

Link to comment
Share on other sites

Sweet, el vrea sa puna scrisul... nu acel checkpoint. Plus ca CheckPointurile nu se creeaza folosind "pickupuri" :).

Foloseste coordonatele de la checkpoint pentru a creea acel text, uite asa:

Adauga asta la OnGameModeInit:

Create3DTextLabel("CheckPoint Text",0x008080FF,0.0.0.0.0.0,10.0,0);

Textul intre "", culoarea, coordonatele, distanta dintre scris si pamant si acel 0 il lasi asa.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.