SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Includes

Reply
 
Thread Tools Display Modes
Old 28/12/2009, 11:08 PM   #21
Retardedwolf
High-roller
 
Retardedwolf's Avatar
 
Join Date: Jun 2009
Posts: 1,599
Reputation: 60
Default Re: [INC] SA:MP Surface-to-Air-Missile - SAM v0.2

By the thread name I thought someone could get on it aim then shoot.
Retardedwolf is offline   Reply With Quote
Old 29/12/2009, 03:24 AM   #22
pagie1111
Huge Clucker
 
Join Date: Dec 2008
Posts: 481
Reputation: 20
Default Re: [INC] SA:MP Surface-to-Air-Missile - SAM v0.2

Quote:
Originally Posted by www.google.com
By the thread name I thought someone could get on it aim then shoot.
That would be awsome, lol
__________________
BockScar
+1 rep
Hunger Games Coming soon!


________________________________________________
pagie1111 is offline   Reply With Quote
Old 29/12/2009, 01:21 PM   #23
lameguy
Guest
 
Posts: n/a
Default Re: [INC] SA:MP Surface-to-Air-Missile - SAM v0.2

Can you fix the 0.2 version link
  Reply With Quote
Old 29/12/2009, 03:02 PM   #24
pagie1111
Huge Clucker
 
Join Date: Dec 2008
Posts: 481
Reputation: 20
Default Re: [INC] SA:MP Surface-to-Air-Missile - SAM v0.2

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

Code:
- 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:

Code:
- 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
-
__________________
BockScar
+1 rep
Hunger Games Coming soon!


________________________________________________
pagie1111 is offline   Reply With Quote
Old 31/12/2009, 03:10 AM   #25
pagie1111
Huge Clucker
 
Join Date: Dec 2008
Posts: 481
Reputation: 20
Default Re: [INC] SA:MP Surface-to-Air-Missile - SAM v0.3 BETA

0.3 BETA is released, Please report any bugs you find.
__________________
BockScar
+1 rep
Hunger Games Coming soon!


________________________________________________
pagie1111 is offline   Reply With Quote
Old 01/01/2010, 01:53 PM   #26
rs2fun111
Huge Clucker
 
Join Date: Aug 2009
Posts: 251
Reputation: 0
Default Re: [INC] SA:MP Surface-to-Air-Missile - SAM v0.3 BETA

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

i use the latest SAMSites0.3.inc

pawn Code:
#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;
}
rs2fun111 is offline   Reply With Quote
Old 02/01/2010, 07:14 AM   #27
pagie1111
Huge Clucker
 
Join Date: Dec 2008
Posts: 481
Reputation: 20
Default Re: [INC] SA:MP Surface-to-Air-Missile - SAM v0.3 BETA

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
__________________
BockScar
+1 rep
Hunger Games Coming soon!


________________________________________________
pagie1111 is offline   Reply With Quote
Old 05/01/2010, 06:01 PM   #28
DjSterios
Big Clucker
 
Join Date: Jan 2008
Posts: 120
Reputation: 0
Default Re: [INC] SA:MP Surface-to-Air-Missile - SAM v0.3 BETA

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?
DjSterios is offline   Reply With Quote
Old 06/01/2010, 01:59 AM   #29
pagie1111
Huge Clucker
 
Join Date: Dec 2008
Posts: 481
Reputation: 20
Default Re: [INC] SA:MP Surface-to-Air-Missile - SAM v0.3 BETA

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.
__________________
BockScar
+1 rep
Hunger Games Coming soon!


________________________________________________
pagie1111 is offline   Reply With Quote
Old 06/01/2010, 05:43 AM   #30
pagie1111
Huge Clucker
 
Join Date: Dec 2008
Posts: 481
Reputation: 20
Default Re: [INC] SA:MP Surface-to-Air-Missile - SAM v0.3.1 BETA

BETA 0.3.1 is released.

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


Thanks
__________________
BockScar
+1 rep
Hunger Games Coming soon!


________________________________________________
pagie1111 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] [FS] Missile sasuke78200 Franšais/French 3 16/09/2011 08:59 PM


All times are GMT. The time now is 02:44 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.