SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 22/05/2009, 11:40 PM   #1
Marclang
Little Clucker
 
Join Date: May 2009
Posts: 28
Reputation: 0
Default Help appreciated

Hey,

I was wondering if anyone could tell me what to do in order to /spec someone, and allowing the camera to rotate and when you do /spec off it DOESNT kill you but returns you to the exact place where you /spec'd the specified player.

Also,

How do I set it so the bullets are unlimited?

And how do I add a jetpack to the /givegun list,

ie: /givegun marc_ 21

Help is appreciated!
Marclang is offline  
Old 22/05/2009, 11:51 PM   #2
Weirdosport
High-roller
 
Join Date: Jul 2008
Posts: 1,300
Reputation: 0
Default Re: Help appreciated

Well in your filterscripts folder you may find a script called "adminspec". This is a very basic spec system, in which you can /spec <id> and /specoff when you finish. You'd need to modify it to restore your position, but using a Float Array this should not be too much work.

To give someone a jetpack, you need to use SetPlayerSpecialAction, also on the wiki. I'm not sure about infinity ammo, but I think if you give the player either 0 ammo or alot it becomes infinite, I'll have to check this..
Weirdosport is offline  
Old 23/05/2009, 01:09 PM   #3
Marclang
Little Clucker
 
Join Date: May 2009
Posts: 28
Reputation: 0
Default Re: Help appreciated

Anything else you can suggest?
Marclang is offline  
 

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
Help Needed, Help Appreciated DRCharlie Help Archive 0 26/05/2010 05:54 PM
Help with "/adestroycars" would be appreciated. Marclang Help Archive 6 12/09/2009 06:24 PM
Need help with /backup Script, Help is appreciated widowmkr Help Archive 4 29/07/2009 05:38 AM
Spectate help appreciated Marclang Help Archive 25 01/06/2009 06:43 PM


All times are GMT. The time now is 01:10 PM.


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