28.12.2009, 22:08
By the thread name I thought someone could get on it aim then shoot.
Originally Posted by www.******.com
By the thread name I thought someone could get on it aim then shoot.
|
- SAM Missiles will travel to any vehicle (cause unknown) - With 90 minutes uptime of SAM's, all vehicles inside the range randomly explode. - Missiles travel in odd ways, zig zags
- SAM Tags, able to be toggled - Team detect system will be removed. - A callback will be added to fit for your team script or anything else. - All functions the create a SAM System will be able to be returned by variables.
#define FILTERSCRIPT
#include <a_samp>
#include <SAMsites>
native AddStaticSAM(samid,Float:X, Float:Y, Float:Z);
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" SAMSITES LOADED ");
print("--------------------------------------\n");
SAM_start();
AddStaticSAM(0,237.5797,1698.6908,23.8673);
AddStaticSAM(1,15.3281,1720.9646,23.8673);
AddStaticSAM(2,188.2694,2083.4644,23.9063);
AddStaticSAM(3,354.5453,2030.3062,23.8750);
return 1;
}
public OnFilterScriptExit()
{
print(" SAMSITES UNLOADED ");
return 1;
}
#else
#endif
public OnSamSiteUpdate(samid)
{
return 1;
}
Originally Posted by DjSterios
Nice share mate, but i don't really can make it to work... i tested your ready AddStaticSAM you gave us, to a filterscript, but i have errors.(in gamemode doesnt work too, when i open my server script doesn't load(GF Script)), i have 8 errors: Sa-mp Server0.3\pawno\include\SAMsites.inc(40) : error 032: array index out of bounds (variable "Sam")
and 1 error: Sa-mp Server0.3\pawno\include\SAMsites.inc(3 : warning 203: symbol is never used: "samid" any idea what's wrong? |