24.07.2012, 15:59
Код:
D:\games\Скинове О.О\Без гангове\Filteri\Fightskill\FightingStyle.pwn(41) : error 017: undefined symbol "PlayerToPoint" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
D:\games\Скинове О.О\Без гангове\Filteri\Fightskill\FightingStyle.pwn(41) : error 017: undefined symbol "PlayerToPoint" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/fshop", cmdtext, true, 10) == 0)
if (PlayerToPoint(3, playerid,1579.5493, -1635.6027, 13.5608))
{
ShowPlayerDialog(playerid, 7, DIALOG_STYLE_LIST, "Fighting Style List", "|-> Normal Fighting Styles\n|-> Boxing\n|-> Kungfu\n|-> KneeHead\n|-> GrabKick\n|-> Elbow", "Buy", "Close");
}
return 1;
}
public PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z)
{
new Float:oldposx, Float:oldposy, Float:oldposz;
new Float:tempposx, Float:tempposy, Float:tempposz;
GetPlayerPos(playerid, oldposx, oldposy, oldposz);
tempposx = (oldposx -x); tempposy = (oldposy -y); tempposz = (oldposz -z);
if(((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi)))
{ return true; }
return false;
}
//----<Forwards>----// forward PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z);
|
If you add in filterscript gamemode will give me a problem again or go to normal?
|
D:\games\Скинове О.О\Без гангове\filterscripts\aHouse.pwn(285) : error 017: undefined symbol "palyerid" D:\games\Скинове О.О\Без гангове\filterscripts\aHouse.pwn(290) : error 017: undefined symbol "playerid" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.
|
Ok,thanks for this.How to fix this?
Код:
D:\games\Скинове О.О\Без гангове\filterscripts\aHouse.pwn(285) : error 017: undefined symbol "palyerid" D:\games\Скинове О.О\Без гангове\filterscripts\aHouse.pwn(290) : error 017: undefined symbol "playerid" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors. |