Who can add a swat skill and /ann command and skill on lvrcr? - 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: Who can add a swat skill and /ann command and skill on lvrcr? (
/showthread.php?tid=118798)
Who can add a swat skill and /ann command and skill on lvrcr? -
nielsbon1 - 05.01.2010
Who can add SWAT skill and a /ann command on the script off lvrcr?
Or how can i do it?
Please help me!
Regard, Niels
Re: Who can add a swat skill and /ann command and skill on lvrcr? -
Moglizorz. - 27.01.2010
https://sampwiki.blast.hk/wiki/AddPlayerClass will help for adding the SWAT skin.
Look for:
Somewhere under that you want to have something like:
Quote:
AddPlayerClass(285,xxxx.xxxx,xxxx.xxxx,xx.xxxx,xxx .xxxx,x,xx,x,xx,x,xx); // S.W.A.T Officer
|
Let me break that down for you:
Once you search for
in your pwn file, you must scroll past a few timers and thing and you will get to quite a few lines with lots of numbers in them.
skin - That's the 285 you can see above in my example, that's the correct ID to put in there so leave that alone.
Float:X
Float:Y
Float:Z
Float:Angle - These four floats are coordinates which is where SWAT will spawn after you select it, including the angle. Do /save at a point where you want to spawn it at and you can see the coordinates for this in your San Andreas folder in a txt document.
weapon1 The first spawn-weapon for the player.
weapon1_ammo The amount of ammunition for the primary spawnweapon.
weapon2 The second spawn-weapon for the player.
weapon2_ammo The amount of ammunition for the second spawnweapon.
weapon3 The third spawn-weapon for the player.
weapon3_ammo The amount of ammunition for the third spawnweapon.
(skin, Float

, Float:y, Float:z, Float:Angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo)
Hope this helps.