Making A Checkpoint Only Show Within 3 - 5 Meters.
#1

Hello, Im Wondering What I Add To My Code.

Atm I have

"SetPlayerCheckpoint(playerid, 2826.078613, 2140.759521, 14.661464, 3.0);"

now im wondering because this makes it able to see on the map itself, and radar,

i only want it so i can see it when im around 3 - 5 meters away from the checkpoint that it will comeup on the radar ect,

thankyou
Reply
#2

Use a streamer. It allows you to set a draw distance...
Reply
#3

Quote:
Originally Posted by SAWC™
Use a streamer. It allows you to set a draw distance...
As he said, http://forum.sa-mp.com/index.php?topic=69459.0

CreateCheckpoint(playerid, Float:cpX, Float:cpY, Float:cpZ, Float:cpS, Float:viewdiss);

Download link is down there so:
Reply
#4

Great!!!!, handy tool installed it but can i have some more help =//

public OnPlayerEnterStreamedCheckpoint(playerid, streamid)
{
CreateCheckpoint(playerid, 2826.078613, 2140.759521, 14.66146, 3.0, 5.0); //Will create a streamed checkpoint for the specified player. Use -1 as playerid for all players
DestroyCheckpoint(cPid); //Destroys a checkpoint.
TogglePlayerCheckpoint(playerid, cpid, bool:toggle); //Toggles a checkpoint on/off for a player.
return 1;
}

here is my code and

1. error 017: undefined symbol "cPid"
2. error 017: undefined symbol "toggle"
Reply
#5

im using the same checkpoint streamer, did you follow the instructions properly?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)