#1

Hello . . .
I have make a radar for PD Faction.
i make command:
Code:
if(strcmp(cmd,"/radar",true)==0)
    	{
			if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)
			{
			    new radar;
				if(PlayerInfo[playerid][pRadar] == 0)
				{
                    PlayerInfo[playerid][pRadar] = 1;
				    SCM(playerid, COLOR_GREEN, "Radar is on!");
                    radar = SetTimer("Radar",1,true);
				}
				else
				{
				    PlayerInfo[playerid][pRadar] = 0;
				    SCM(playerid,COLOR_GREEN, "Radar is off");
					KillTimer(radar);
				}
			}
			else
			{
			    SCM(playerid, COLOR_RED, "You aren't in PD!");
			}
		}
an ia have maked the system:
Code:
public Radar()
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if (ProxDetectorS(9.0, playerid, i))
Here i don't know what i can write at ProxDetextorS(9.0, ? ? ? ? ? ? ?, i)
Pelase help
Reply
#2

Anyone?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)