[HELP] Deleting CheckPoint When........
#1

I got this codes:

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
	if(strcmp("/start", cmdtext, true, 6) == 0)
	{
		if(IsPlayerInAnyVehicle(playerid))
		{
			new vehid = GetPlayerVehicleID(playerid);
			if(GetVehicleModel(vehid) == 574)
			{
				SetPlayerCheckpoint(playerid, -147.1910, 1146.1820, 19.5938, 3.0);
				SendClientMessage(playerid, 0xFF66FFAA, "Sweeper Job Accepted.");
			}
			else SendClientMessage(playerid, 0xFF66FFAA, "You need to be in a Sweeper, to use this command!");
		}
		else SendClientMessage(playerid, 0xFF66FFAA, "You need to be in a sweeper, to use this command!");
		return 1;
	}
	return 0;
}
Код:
public OnPlayerEnterCheckpoint(playerid)
{
	GivePlayerMoney(playerid, 1500);
    DisablePlayerCheckpoint(playerid);
	return 1;
}
How can i do for this : When the player pass on the checkpoint it delete the checkpoint and set a new one to an other place.

Sorry for my English.
Reply


Messages In This Thread
[HELP] Deleting CheckPoint When........ - by Smiths - 09.09.2009, 22:56
Re: [HELP] Deleting CheckPoint When........ - by ilikepie2221 - 09.09.2009, 23:59
Re: [HELP] Deleting CheckPoint When........ - by Smiths - 10.09.2009, 20:02
Re: [HELP] Deleting CheckPoint When........ - by Smiths - 10.09.2009, 21:14
Re: [HELP] Deleting CheckPoint When........ - by coole210 - 10.09.2009, 21:19
Re: [HELP] Deleting CheckPoint When........ - by Yuryfury - 10.09.2009, 23:53

Forum Jump:


Users browsing this thread: 2 Guest(s)