08.11.2009, 13:10
This error
but i don`t know why,i have this at the bottom of script
Код:
D:\DOCUME~1\ADMINI~1\Desktop\MYWORK~1\SAMP03~1\GAMEMO~1\begwar.pwn(851) : error 017: undefined symbol "PlayerToPoint" D:\DOCUME~1\ADMINI~1\Desktop\MYWORK~1\SAMP03~1\GAMEMO~1\begwar.pwn(870) : error 017: undefined symbol "PlayerToPoint" D:\DOCUME~1\ADMINI~1\Desktop\MYWORK~1\SAMP03~1\GAMEMO~1\begwar.pwn(889) : error 017: undefined symbol "PlayerToPoint" D:\DOCUME~1\ADMINI~1\Desktop\MYWORK~1\SAMP03~1\GAMEMO~1\begwar.pwn(925) : error 017: undefined symbol "PlayerToPoint" D:\DOCUME~1\ADMINI~1\Desktop\MYWORK~1\SAMP03~1\GAMEMO~1\begwar.pwn(944) : error 017: undefined symbol "PlayerToPoint" D:\DOCUME~1\ADMINI~1\Desktop\MYWORK~1\SAMP03~1\GAMEMO~1\begwar.pwn(963) : error 017: undefined symbol "PlayerToPoint" D:\DOCUME~1\ADMINI~1\Desktop\MYWORK~1\SAMP03~1\GAMEMO~1\begwar.pwn(999) : error 017: undefined symbol "PlayerToPoint" D:\DOCUME~1\ADMINI~1\Desktop\MYWORK~1\SAMP03~1\GAMEMO~1\begwar.pwn(1018) : error 017: undefined symbol "PlayerToPoint" D:\DOCUME~1\ADMINI~1\Desktop\MYWORK~1\SAMP03~1\GAMEMO~1\begwar.pwn(1037) : error 017: undefined symbol "PlayerToPoint" D:\DOCUME~1\ADMINI~1\Desktop\MYWORK~1\SAMP03~1\GAMEMO~1\begwar.pwn(1073) : error 017: undefined symbol "PlayerToPoint" D:\DOCUME~1\ADMINI~1\Desktop\MYWORK~1\SAMP03~1\GAMEMO~1\begwar.pwn(1092) : error 017: undefined symbol "PlayerToPoint" D:\DOCUME~1\ADMINI~1\Desktop\MYWORK~1\SAMP03~1\GAMEMO~1\begwar.pwn(1111) : error 017: undefined symbol "PlayerToPoint" D:\DOCUME~1\ADMINI~1\Desktop\MYWORK~1\SAMP03~1\GAMEMO~1\begwar.pwn(1149) : error 017: undefined symbol "PlayerToPoint" D:\DOCUME~1\ADMINI~1\Desktop\MYWORK~1\SAMP03~1\GAMEMO~1\begwar.pwn(1167) : error 017: undefined symbol "PlayerToPoint" D:\DOCUME~1\ADMINI~1\Desktop\MYWORK~1\SAMP03~1\GAMEMO~1\begwar.pwn(1186) : error 017: undefined symbol "PlayerToPoint" D:\DOCUME~1\ADMINI~1\Desktop\MYWORK~1\SAMP03~1\GAMEMO~1\begwar.pwn(1206) : error 017: undefined symbol "PlayerToPoint" D:\DOCUME~1\ADMINI~1\Desktop\MYWORK~1\SAMP03~1\GAMEMO~1\begwar.pwn(1227) : error 017: undefined symbol "PlayerToPoint" D:\DOCUME~1\ADMINI~1\Desktop\MYWORK~1\SAMP03~1\GAMEMO~1\begwar.pwn(1265) : error 017: undefined symbol "PlayerToPoint" D:\DOCUME~1\ADMINI~1\Desktop\MYWORK~1\SAMP03~1\GAMEMO~1\begwar.pwn(1284) : error 017: undefined symbol "PlayerToPoint" D:\DOCUME~1\ADMINI~1\Desktop\MYWORK~1\SAMP03~1\GAMEMO~1\begwar.pwn(1303) : error 017: undefined symbol "PlayerToPoint" D:\DOCUME~1\ADMINI~1\Desktop\MYWORK~1\SAMP03~1\GAMEMO~1\begwar.pwn(1339) : error 017: undefined symbol "PlayerToPoint" D:\DOCUME~1\ADMINI~1\Desktop\MYWORK~1\SAMP03~1\GAMEMO~1\begwar.pwn(1358) : error 017: undefined symbol "PlayerToPoint" D:\DOCUME~1\ADMINI~1\Desktop\MYWORK~1\SAMP03~1\GAMEMO~1\begwar.pwn(1377) : error 017: undefined symbol "PlayerToPoint" D:\DOCUME~1\ADMINI~1\Desktop\MYWORK~1\SAMP03~1\GAMEMO~1\begwar.pwn(1413) : error 017: undefined symbol "PlayerToPoint" D:\DOCUME~1\ADMINI~1\Desktop\MYWORK~1\SAMP03~1\GAMEMO~1\begwar.pwn(1432) : error 017: undefined symbol "PlayerToPoint" D:\DOCUME~1\ADMINI~1\Desktop\MYWORK~1\SAMP03~1\GAMEMO~1\begwar.pwn(1451) : error 017: undefined symbol "PlayerToPoint"
Код:
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 1; } return 0; }