Checkpoint problem :$
#1

Hey guys, I'm using Dubble-O-Streamer or somethnig like that.

I have this at ongamemodeinit
CreateCheckpoint(2182.9868,-1910.5543,14.0910,5,-1,100,true);
And this:
ShowCheckpointForAll(1,true);

At onplayerspawn. But on my map just nothing pops up.

pawn Код:
Functions:

    * CreateCheckpoint(Float,Float:y,Float:z,interior, Floatize,Float:distance,showforall) - Create a checkpoint; if you you set interior to -1, the checkpoint will be shown in all interiors, else only in one. If you want create a checkpoint for all (ex: Moneyarea) set showforall to "true".
    * DestroyCheckpoint(cpid) - Destroy a checkpoint.
    * ShowCheckpointForAll(cpid,show) - Set show to "true" to show, "false" to hide the checkpoint.
    * ShowCheckpointForPlayer(playerid,cpid,show) - Here the same like.
    * DOCP_OnPlayerDisconnect(playerid) - Put this under OnPlayerDisconnect(playerid,reason) in your script.
    * DOCP_OnGameModeInit() - Put this under OnGameModeInit in your script.
    * CheckpointStreamer() - You should use this.
    * GetDistanceToPoint(playerid,Float,Float:y,Float: z,&Float:dis) - Is used for streamer.
    * GetClosestCheckpoint(playerid) - Also used for streamer.
    * GetPlayerCheckpoint(playerid) - Useful for OnPlayerEnterCheckpoint.
    * IsValidCheckpoint(cpid) - Used for different things.
Reply
#2

1. You set the checkpoint's show distance to 100, when you tested it, were you enough close to it?
2. ShowCheckpointForAll(1,true); <-- The ID of the first checkpoint isn't 0?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)