[DUV] ajuda a fazer este fs funcionar bug nas cp
#2

Код:
public OnPlayerEnterCheckpoint(playerid)
{
			for(new j=0;j<AREAS;j++)
			{
				new string[256];
				lastcp[playerid] = CPS_GetPlayerCheckpoint(playerid);
				if(lastcp[playerid] == CheckPointZones[j])
				{
					format(string, sizeof(string), "Entrou na CP %s", Name[j]);
					SendClientMessageToAll(0xAAAAAAAA, string);
				}
			}
			return 1;
}

public OnPlayerLeaveCheckpoint(playerid)
{
			for(new j=0;j<AREAS;j++)
			{
				new string[256];
				lastcp[playerid] = CPS_GetPlayerCheckpoint(playerid);
				if(lastcp[playerid] == CheckPointZones[j])
				{
					format(string, sizeof(string), "Saiu da CP %s", Name[j]);
					SendClientMessageToAll(0xAAAAAAAA, string);
				}
			}
	return 1;
}
Reply


Messages In This Thread
[DUV] ajuda a fazer este fs funcionar bug nas cp - by Phoenix_Br - 04.02.2010, 16:36
Re: [DUV] ajuda a fazer este fs funcionar bug nas cp - by Poderoso Chefгo - 04.02.2010, 17:01
Re: [DUV] ajuda a fazer este fs funcionar bug nas cp - by Phoenix_Br - 04.02.2010, 17:12

Forum Jump:


Users browsing this thread: 1 Guest(s)