11.09.2011, 15:25
Hello, I made a very simple filterscript here it is :
And when I compile I get these errors :
What is the problem ?
pawn Код:
#include <a_samp>
#pragma tabsize 0
public OnGameModeInit()
{
//Gas Station Objects
CreateObject(1676, 998.29998779297, -937.79998779297, 42.900001525879, 0, 0, 8);
CreateObject(1676, 1002.700012207, -936.90002441406, 42.900001525879, 0, 0, 8);
CreateObject(1676, 1005.200012207, -936.59997558594, 42.900001525879, 0, 0, 8);
CreateObject(1676, 1009.5, -936, 42.900001525879, 0, 0, 4);
CreateObject(1676, -2026.6999511719, 155.60000610352, 29.60000038147, 0, 0, 90);
CreateObject(1676, -2026.8000488281, 157.60000610352, 29.60000038147, 0, 0.75, 269);
CreateObject(1676, 67.900001525879, 1220.6999511719, 19.700000762939, 0, 1, 256);
CreateObject(1676, 73.800003051758, 1219.0999755859, 19.700000762939, 358.75018310547, 358.99975585938, 72.728149414063);
//Police Department icons
CreateMapIcon(30, 0, -1604.9640, 714.1147, 13.0789);
CreateMapIcon(30, 0, 1545.1973, -1676.1083, 13.5599);
CreateMapIcon(30, 0, 2289.4521,2430.1086,10.8203);
return 0;
}
pawn Код:
D:\Games\san andreas\GTA San Andreas\RolePlayLS\filterscripts\Untitled.pwn(17) : error 017: undefined symbol "CreateMapIcon"
D:\Games\san andreas\GTA San Andreas\RolePlayLS\filterscripts\Untitled.pwn(18) : error 017: undefined symbol "CreateMapIcon"
D:\Games\san andreas\GTA San Andreas\RolePlayLS\filterscripts\Untitled.pwn(19) : error 017: undefined symbol "CreateMapIcon"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Errors.