Firess0 1 Odesláno: 10. Říjen, 2015 Share Odesláno: 10. Říjen, 2015 CMD:healr(playerid, params[]) { if (isnull(params)) return SendClientMessage(playerid, -1, "[ ! ] Použití: /healr [RÁDIUS]"); new iRadius = strval(params); if (iRadius < 1 || iRadius > 99) return SendClientMessage(playerid, -1, "[ ! ] Rozmezí rádiusu je 1-99 !"); new sString[144 + 1], sNick[MAX_PLAYER_NAME + 1], Float: fPlayerPos[3]; GetPlayerPos(playerid, fPlayerPos[0], fPlayerPos[1], fPlayerPos[2]); for(new i = 0, j = GetPlayerPoolSize(); i <= j; i++) { if (IsPlayerInRangeOfPoint(playerid, float(iRadius), fPlayerPos[0], fPlayerPos[1], fPlayerPos[2])) SetPlayerHealth(playerid, 100.0); } GetPlayerName(playerid, sNick, sizeof(sNick)); format(sString, sizeof(sString), "Administrátor %s doplnil všem hráčům život v určité oblasti", sNick); SendClientMessageToAll(0xFF000000, sString); return (true); } error 017: undefined symbol "GetPlayerPoolSize" Link to comment Share on other sites More sharing options...
0 Scydo 397 Odesláno: 10. Říjen, 2015 Share Odesláno: 10. Říjen, 2015 ~> Stáhni si nejnovější Pawno, včetně includů. Link to comment Share on other sites More sharing options...
Dotaz
Firess0 1
Link to comment
Share on other sites
1 odpověd na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now