[Include] [INC] SA:MP Surface-to-Air-Missile - SAM v0.4
#21

By the thread name I thought someone could get on it aim then shoot.
Reply
#22

Quote:
Originally Posted by www.******.com
By the thread name I thought someone could get on it aim then shoot.
That would be awsome, lol
Reply
#23

Can you fix the 0.2 version link
Reply
#24

I am away from my PC for tonight (GMT +11) v0.2 is gas bugs, the following are:

Код:
- 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
This include is now in revision, I am going to make an attempt to fix these bugs.

Scripting of v0.3 will begin soon. Please make suggestions.

Plans for 0.3:

Код:
- 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.
-Awaran
-
Reply
#25

0.3 BETA is released, Please report any bugs you find.
Reply
#26

these wont work can someone say what is wrong in this code?

i use the latest SAMSites0.3.inc

pawn Код:
#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;
}
Reply
#27

There is a code error somewhere in the include, I have noticed this as I havn't been able to test it until recently.

I am running low on free time (new years + work = not alot of time)

I will hopefully fix this soon, this is what the BETA is for in v0.3
Reply
#28

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?
Reply
#29

Quote:
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?
There is something wrong with an Array index in the variable "Sam". I have been really busy on other things. Will hopefully fix this soon.
Reply
#30

BETA 0.3.1 is released.

Please see Attachments for the download link and report all bugs.


Thanks
Reply
#31

is there is a way to stop the missiles?
Reply
#32

Quote:
Originally Posted by Raza2013
Посмотреть сообщение
is there is a way to stop the missiles?
You can try L_SAM which was released by me. It supports the way you've asked for.
https://sampforum.blast.hk/showthread.php?tid=484765
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)