Multiple Checkpoints
#1

Alright, so here's the basic issue description. I'm creating a checkpoint for a player when he spawns, that I want to be CONSTANT, but only visible on their radar/screen within a specific distance. I know how to assign a checkpoint to a specific variable/array, but is there a function to disable specific checkpoints for players?
Reply
#2

Download streamer and then use like

pawn Код:
#include <streamer>

public OnPlayerSpawn( playerid )
{
   CreateDynamicCP( playerid, 0.00, 0.00, 0.00, 5.0 );
   CreateDynamicCP( playerid, 1.00, 1.00, 1.00, 5.0 );
   CreateDynamicCP( playerid, 2.00, 2.00, 2.00, 5.0 );
   return 1;
}
Reply
#3

Quote:
Originally Posted by Squirrel
Посмотреть сообщение
Download streamer and then use like

pawn Код:
#include <streamer>

public OnPlayerSpawn( playerid )
{
   CreateDynamicCP( playerid, 0.00, 0.00, 0.00, 5.0 );
   CreateDynamicCP( playerid, 1.00, 1.00, 1.00, 5.0 );
   CreateDynamicCP( playerid, 2.00, 2.00, 2.00, 5.0 );
   return 1;
}
Thanks, I looked up the function

pawn Код:
CreateDynamicCP(Float:x, Float:y, Float:z, Float:size, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0);
But what exactly is "worldid" and "interiorid"?
Reply
#4

Quote:
Originally Posted by GXLZPGX
Посмотреть сообщение
Thanks, I looked up the function

pawn Код:
CreateDynamicCP(Float:x, Float:y, Float:z, Float:size, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0);
But what exactly is "worldid" and "interiorid"?
Worldid its like changing the player/s world Take a look at this, most of the interiors around San Andreas has different ids that's why you have to specfiy it. Like CJ's house and Clothes Shot different IDs. Look at this
Reply
#5

Quote:
Originally Posted by TheArcher
Посмотреть сообщение
Worldid its like changing the player/s world Take a look at this, most of the interiors around San Andreas has different ids that's why you have to specfiy it. Like CJ's house and Clothes Shot different IDs. Look at this
Ah, I know how that works. Thanks a ton!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)