15.07.2007, 13:06
Hi. When i use your code i get
What does it mean?
This is the script:
Code:
C:\servers\samp\filterscripts\XtremeAdmin2.pwn(148) : warning 235: public function lacks forward declaration (symbol "AdminArea")
This is the script:
Code:
public AdminArea(playerid) { new i, j, Float:X, Float:Y, Float:Z; for (i = 0, j = MAX_PLAYERS; i < j; i++) { GetPlayerPos(playerid, X, Y, Z); if(X >= 1677.2161 && X <= 1688.0834 && Y >= -2276.6697 && Y <= -2263.4658) { //Replace with your own x/y min/max coords if (IsPlayerAdmin(playerid)/*|| Level[playerid] == Admin*/) { } else { GameTextForPlayer(playerid,"~g~ THIS IS A RESTRICTED AREA!~r~ STAFF ONLY!",10000,5); SendClientMessage(playerid, red, "THIS IS A RESTRICTED AREA! STAFF ONLY!"); SetPlayerHealth(playerid, -99999999.99); } }} return 1; }