need help with something
#3

Код:
{
    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 (Player,i)
  	{
 		if(IsPlayerInRangeOfPoint(i, 10, pX, pY, pZ))
  		{
             SendClientMessage(i, -1, string);
        }
    }
    return 1;
}
stock pName(playerid)
{
        new Name[MAX_PLAYER_NAME];
        GetPlayerName(playerid, Name, sizeof Name);
        return Name;
}
Код:
C:\Users\User\Desktop\GangWar\gamemodes\Test.pwn(176) : error 017: undefined symbol "String"
C:\Users\User\Desktop\GangWar\gamemodes\Test.pwn(176) : error 017: undefined symbol "String"
C:\Users\User\Desktop\GangWar\gamemodes\Test.pwn(178) : error 017: undefined symbol "foreach"
C:\Users\User\Desktop\GangWar\gamemodes\Test.pwn(180) : error 017: undefined symbol "i"
C:\Users\User\Desktop\GangWar\gamemodes\Test.pwn(182) : error 017: undefined symbol "i"
C:\Users\User\Desktop\GangWar\gamemodes\Test.pwn(408) : warning 219: local variable "pName" shadows a variable at a preceding level
C:\Users\User\Desktop\GangWar\gamemodes\Test.pwn(422) : warning 219: local variable "pName" shadows a variable at a preceding level
C:\Users\User\Desktop\GangWar\gamemodes\Test.pwn(495) : warning 219: local variable "pName" shadows a variable at a preceding level
C:\Users\User\Desktop\GangWar\gamemodes\Test.pwn(509) : warning 219: local variable "pName" shadows a variable at a preceding level
C:\Users\User\Desktop\GangWar\gamemodes\Test.pwn(533) : warning 219: local variable "pName" shadows a variable at a preceding level
C:\Users\User\Desktop\GangWar\gamemodes\Test.pwn(547) : warning 219: local variable "pName" shadows a variable at a preceding level
C:\Users\User\Desktop\GangWar\gamemodes\Test.pwn(592) : warning 219: local variable "pName" shadows a variable at a preceding level
C:\Users\User\Desktop\GangWar\gamemodes\Test.pwn(614) : warning 219: local variable "pName" shadows a variable at a preceding level
C:\Users\User\Desktop\GangWar\gamemodes\Test.pwn(629) : warning 219: local variable "pName" shadows a variable at a preceding level
C:\Users\User\Desktop\GangWar\gamemodes\Test.pwn(643) : warning 219: local variable "pName" shadows a variable at a preceding level
C:\Users\User\Desktop\GangWar\gamemodes\Test.pwn(656) : warning 219: local variable "pName" shadows a variable at a preceding level
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


5 Errors.
huh i did all you told me and it's giving all this
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: 3 Guest(s)