A few small questions :P - 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: A few small questions :P (
/showthread.php?tid=104554)
A few small questions :P -
HlHl - 25.10.2009
I am new to scripting...
I've read quite a few scripts and I am starting a script
I want to ask a few questions :P
1) How to make player spawns
2) How to add class selections
3) How to make classes to have weapons... etc :P
I appreciate your answers
Re: A few small questions :P -
Abernethy - 25.10.2009
https://sampwiki.blast.hk/wiki/AddPlayerClass
Read it all. Re-post if you're having troubles.
Don't double post please.
Re: A few small questions :P -
HlHl - 25.10.2009
Quote:
Originally Posted by Abernethy♥
|
I'm forbidden to search for posts...
Re: A few small questions :P -
Imran.Abbas - 25.10.2009
Quote:
Originally Posted by HlHl
I am new to scripting...
I've read quite a few scripts and I am starting a script
I want to ask a few questions :P
1) How to make player spawns
2) How to add class selections
3) How to make classes to have weapons... etc :P
I appreciate your answers
|
k..
Q : How to make player spawns?
A : Go in-game where u want to save the player type /save [Note:don't sit in car] once you have done that go in Gta san andreas folder
you will see savedpostion.txt open it :] you will see like this
Код:
AddPlayerClass(102,1973.4797,-1224.1311,20.0234,2.8161,28,3000,5,1,22,3000); // test nigga
copy from .txt and open you're GM paste this code under public OnGameModeInit()
{
then you have done ;]
Q : How to add class selections
A : its very eazy for others not for me

i dont know
Q : How to make classes to have weapons
A : its from the 1st answer , when you have any gun with player it will save ... when you will type /save
I never hope it will help you