How to create a checkpoint for more than 1 time in the same place?
#2

use streamer
https://sampforum.blast.hk/showthread.php?tid=102865/

Example:
pawn Код:
//At Top
new alreadypickupcp[MAX_PLAYERS];

// Add this OnGameModeInit..
CreateDynamicRaceCP(type, Float:x, Float:y, Float:z, Float:nextx, Float:nexty, Float:nextz, Float:size, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0);
//remember to edit it.

public OnPlayerEnterDynamicRaceCP(playerid, checkpointid)
{
  if(checkpointid == CHECKID && alreadypickupcp[playerid] == 0)
  {
     SendClientMessage(playerid,Your_Color,"You've entered an race checkpoint!");
     alreadypickupcp[playerid] = 1;
  }
  return 1;
}
Reply


Messages In This Thread
How to create a checkpoint for more than 1 time in the same place? - by bhuvanesh - 05.08.2012, 14:47
Re: How to create a checkpoint for more than 1 time in the same place? - by V_LOPE - 05.08.2012, 15:01
Re: How to create a checkpoint for more than 1 time in the same place? - by bhuvanesh - 05.08.2012, 15:33

Forum Jump:


Users browsing this thread: 1 Guest(s)