#1

hey guys ...
i want to make it like this:
if a player enter a checkpoint something happens and an other time a other player or the same player enter the checkpoint a other option should happend on the same checkpoint can someone help?
Reply
#2

use variables and if() statements.
Reply
#3

Quote:
Originally Posted by Rk_
use variables and if() statements.
rofl ^^ he cam use else without if ?

My opinion : Use a timer
Reply
#4

maybe i know it thanks
Reply
#5

okay it dont work ..
but can someone tell me if its possible to do this:
pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
   if (checkpoint == point1)
   {
   // do something
   }
   if (checkpoint == point2)
   {
   // do something other
   }
   // and so on
how i can define it?
Reply
#6

u use a streamer? or just use one, much easier.
i prefer getcheckpointtype.
Reply
#7

i use only 1 checkpoint ... can you explayne getcheckpointtype?
Reply
#8

search for more details, you will get your answers.
Reply
#9

will this be the right?
pawn Код:
stock getCheckpointType(playerID) {
  if(playerCheckpoint[playerID] != 999)
    return checkpointType[playerCheckpoint[playerID]];
  else return -1;
}
Reply
#10

and how will u use it, what would be the outcome?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)