22.06.2015, 08:44
So after make a map and texture it. I have the code but i dont know how to compile it, help me )
I put the code like this
#include <a_samp>
#include <streamer>
new tmpobjid;
public OnFilterScriptInit()
tmpobjid = CreateDynamicObject(19379,1162.075,-1329.239,-3.357,0.000,90.000,0.000,-1,-1,-1,300.000,300.000);
SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicwall02", 0);
return 1;
}
And the warn
D:\Documents and Settings\Khong co password\My Documents\New Folder\map design\texture map\HOSPITAL INT.pwn(6) : warning 202: number of arguments does not match definition
D:\Documents and Settings\Khong co password\My Documents\New Folder\map design\texture map\HOSPITAL INT.pwn(7) : error 021: symbol already defined: "SetDynamicObjectMaterial"
D:\Documents and Settings\Khong co password\My Documents\New Folder\map design\texture map\HOSPITAL INT.pwn(846) : error 010: invalid function or declaration
D:\Documents and Settings\Khong co password\My Documents\New Folder\map design\texture map\HOSPITAL INT.pwn(6) : warning 204: symbol is assigned a value that is never used: "tmpobjid"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
I put the code like this
#include <a_samp>
#include <streamer>
new tmpobjid;
public OnFilterScriptInit()
tmpobjid = CreateDynamicObject(19379,1162.075,-1329.239,-3.357,0.000,90.000,0.000,-1,-1,-1,300.000,300.000);
SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicwall02", 0);
return 1;
}
And the warn
D:\Documents and Settings\Khong co password\My Documents\New Folder\map design\texture map\HOSPITAL INT.pwn(6) : warning 202: number of arguments does not match definition
D:\Documents and Settings\Khong co password\My Documents\New Folder\map design\texture map\HOSPITAL INT.pwn(7) : error 021: symbol already defined: "SetDynamicObjectMaterial"
D:\Documents and Settings\Khong co password\My Documents\New Folder\map design\texture map\HOSPITAL INT.pwn(846) : error 010: invalid function or declaration
D:\Documents and Settings\Khong co password\My Documents\New Folder\map design\texture map\HOSPITAL INT.pwn(6) : warning 204: symbol is assigned a value that is never used: "tmpobjid"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.