07.07.2011, 16:19
Hello . . .
I have make a radar for PD Faction.
i make command:
an ia have maked the system:
Here i don't know what i can write at ProxDetextorS(9.0, ? ? ? ? ? ? ?, i)
Pelase help
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!"); } }
Code:
public Radar() { for(new i = 0; i < MAX_PLAYERS; i++) { if (ProxDetectorS(9.0, playerid, i))
Pelase help