Jump to content

Cum sa faci Ceckpointuri cu CPLoader


Rimmon

Recommended Posts

Cum spune si titlu am facut un toturial sa va arat cum se creeaza ceckpoint-urile

Ca sa creezi Ceckpoint-uri trebuie sa aveti CPLoader care il downloadez de Aici

Pentru inceput punem sus in script

[pawn]#include <CPLoader>[/pawn]

La OnGameModeInit punem

[pawn]CPS_AddCheckpoint(x ,y ,z , marimea,  distanta de la care poate fi vizibil);[/pawn]

Puteti adauga mai multe

Acum punem asa la OnPlayerEnerCeckpoint

[pawn]new cpid = CPS_GetPlayerCheckpoint(playerid);[/pawn]

Si Sub El punem asa

[pawn]if (cpid == 1)

    {

        SetPlayerPos(playerid, x, y, z);

    }//puteti adauga mai multe dar ca sa puneti mai multe va trebuie mai multe la OnGameModeInit[/pawn]

Massari e curva mea

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.