SA-MP Forums Archive
Idea - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Idea (/showthread.php?tid=192099)



Idea - WillyP - 21.11.2010

Hey, is there a way of doing smth like:

loop through all weapon pickups

lalalaa

keep changing them around, such as

every 100MS the weapon changes to another..

Any help/ideas?


Re: Idea - Cameltoe - 21.11.2010

Quote:
Originally Posted by [FU]Victious
Посмотреть сообщение
Hey, is there a way of doing smth like:

loop through all weapon pickups

lalalaa

keep changing them around, such as

every 100MS the weapon changes to another..

Any help/ideas?
100 ms? thats almost instant x)

Try 500, or at least a sec.

Anyway the concept it self shouldn't be too hard to script.


Re: Idea - WillyP - 21.11.2010

Yeah, 500MS+

This forum requires that you wait 120 seconds between posts. Please try again in 85 seconds.

This forum requires that you wait 120 seconds between posts. Please try again in 3 seconds.


Re: Idea - Calgon - 21.11.2010

More like 1000 MS...


Re: Idea - Cameltoe - 21.11.2010

Quote:
Originally Posted by [FU]Victious
Посмотреть сообщение
Yeah, 500MS+
Probably an bad way doing this, though i couldn't think of anything else.

http://pawn.pastebin.com/LcN3RzBM

Should work.


Re: Idea - WillyP - 21.11.2010

Quote:
Originally Posted by Cameltoe
Посмотреть сообщение
Probably an bad way doing this, though i couldn't think of anything else.

http://pawn.pastebin.com/LcN3RzBM

Should work.
Thanks.

This forum requires that you wait 120 seconds between posts. Please try again in 49 seconds.


Re: Idea - Cameltoe - 21.11.2010

Quote:
Originally Posted by [FU]Victious
Посмотреть сообщение
Thanks.

This forum requires that you wait 120 seconds between posts. Please try again in 49 seconds.
Did it work?


Re: Idea - WillyP - 21.11.2010

Quote:
Originally Posted by Cameltoe
Посмотреть сообщение
Did it work?
I'm going to test now.

EDIT:

It only shows the first weapon, I added sawns, and when I go IG it only shows the AK-47 as a pickup, even though I recieve ammo from AK-47 and sawns (as normal, but no sawn pickup)


Re: Idea - Cameltoe - 21.11.2010

Quote:
Originally Posted by [FU]Victious
Посмотреть сообщение
I'll test nao.

Edit:

Thanks, it works.
No problem, just remember to credit : ))


Re: Idea - WillyP - 21.11.2010

Quote:
Originally Posted by Cameltoe
Посмотреть сообщение
No problem, just remember to credit : ))
I shall.