Check points
#1

Hello!
I'm trying to make a job and i don't understund the checkpoints becaose is not so with pickup's because they i think is not the "if(pickupid == ...))"
can anybody say how to make a simple job with 3 checkpoint's

if(strcmp(cmd, "/ruta1", true) == 0)
{
if(IsPlayerInVehicle(playerid,437))
{
SetPlayerCheckpoint(playerid,x,z,y,size);
}
return 1;
}

what to put next for the 3th checkpoint?
public OnPlayerEnterCheckpoint(playerid)
{
if(IsPlayerInVehicle(playerid,437))
{
DisablePlayerCheckpoint(playerid);
SetPlayerCheckpoint(playerid,x,z,y,size);
return 1;
}
return 1;
}


sry for bad english! If they are some writing mistakes please correct me!
Reply


Messages In This Thread
Check points - by Pasa - 25.07.2011, 18:52
Re: Check points - by Libra_PL - 25.07.2011, 19:00
Re: Check points - by Pasa - 25.07.2011, 19:04
Re: Check points - by Libra_PL - 25.07.2011, 19:06
Re: Check points - by Pasa - 25.07.2011, 19:16
Re: Check points - by kingchandio - 25.07.2011, 20:09

Forum Jump:


Users browsing this thread: 1 Guest(s)