need help with something
#5

Код:
public OnPlayerText(playerid, text[])
{
    new Float:pX, Float:pY, Float:pZ, string[128];
    format(string, sizeof string, "%s says: %s", pName(playerid), text);
 	GetPlayerPos(playerid, pX, pY, pZ);
  	foreach (new i:Player)
  	{
 		if(IsPlayerInRangeOfPoint(i, 10, pX, pY, pZ))
  		{
             SendClientMessage(i, -1, string);
        }
    }
    return 1;
}
Код:
C:\Users\User\Desktop\GangWar\gamemodes\Test.pwn(176) : error 017: undefined symbol "pName"
C:\Users\User\Desktop\GangWar\gamemodes\Test.pwn(178) : error 017: undefined symbol "foreach"
C:\Users\User\Desktop\GangWar\gamemodes\Test.pwn(178) : error 029: invalid expression, assumed zero
C:\Users\User\Desktop\GangWar\gamemodes\Test.pwn(178) : error 017: undefined symbol "Player"
C:\Users\User\Desktop\GangWar\gamemodes\Test.pwn(178) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


5 Errors.
Hmm better but i don't know what the problem again
Reply


Messages In This Thread
need help with something - by Alexy_Dramon - 17.03.2012, 17:46
Re: need help with something - by antonio112 - 17.03.2012, 18:08
Re: need help with something - by Alexy_Dramon - 17.03.2012, 19:17
Re: need help with something - by antonio112 - 17.03.2012, 19:19
Re: need help with something - by Alexy_Dramon - 17.03.2012, 19:28
Re: need help with something - by mineralo - 17.03.2012, 20:26
Re: need help with something - by Alexy_Dramon - 17.03.2012, 22:19
Re: need help with something - by antonio112 - 18.03.2012, 01:44
Re: need help with something - by Alexy_Dramon - 18.03.2012, 06:10
Re: need help with something - by Reklez - 18.03.2012, 06:15

Forum Jump:


Users browsing this thread: 2 Guest(s)