Start Scripting -
mamalzeus - 03.12.2014
Hello !
i want to start scripting !
What else should I know for start scripting and make a server?
Re: Start Scripting -
JeaSon - 03.12.2014
https://sampwiki.blast.hk/wiki/Scripting_Basics
Re: Start Scripting -
iFiras - 03.12.2014
Learn the basics, watch tutorials, useful videos on *******! This may help you!
Good luck.
Re: Start Scripting -
mamalzeus - 03.12.2014
Quote:
Originally Posted by iFiras
Learn the basics, watch tutorials, useful videos on *******! This may help you!
Good luck.
|
Quote:
Originally Posted by Namer
|
i read it but it don't help me very well!
when i look for game mod ! i knock down
for example
enum hInfo
{
hSQLID,
Float:hEntrancex,
Float:hEntrancey,
______________________ what's the hInfo or hEntrancey ... etc..
more example :
forward UnLockCar(carid);
forward Fillup(i);
forward SyncTime();
forward SyncUp();
_____________________ what do forward do for example
new Float: lwx, Float:lwy, Float:lwz;
GetPlayerPos(playerid, lwx, lwy, lwz);
if((lwz > 530.0) || PlayerToPoint(1000.0, playerid, -1041.9,-1868.4,79.1))
what do new float do! or what do lwx do
__________________________________________________ _____________________
i don't know about this ..... in wiki we can know somthing
__________
Re: Start Scripting -
AIped - 03.12.2014
To understand what you just posted, i suggest you try to make
a little deathmatch game for yourself so you learn why some functions are not in the wiki.
Alot functions you showed in your last post are self made.
Making functions yourself is a step to far to learn yet.
Re: Start Scripting -
mamalzeus - 03.12.2014
Quote:
Originally Posted by AIped
To understand what you just posted, i suggest you try to make
a little deathmatch game for yourself so you learn why some functions are not in the wiki.
Alot functions you showed in your last post are self made.
Making functions yourself is a step to far to learn yet.
|
yes ! i thought all of the scripting is c++ but now i know we should now php for functions and array to make a script
is it true? i should know php ?
Re: Start Scripting -
AIped - 03.12.2014
not realy...
Re: Start Scripting -
mamalzeus - 03.12.2014
Quote:
Originally Posted by AIped
not realy...
|
so , what should i know?
if i want to make a game mode i should know about functions or ...
really i can't know anything by try
Re: Start Scripting -
AIped - 03.12.2014
yes you should know about functions you see in the wiki.
and yes you should just start to try something.
why dont you just open pawno click on the left corner (new file)
then you already see alot of codes..those are callbacks.
check out any callback..type the name of the callback in the sa-mp wiki and read what it does.
If you understand callbacks, you can try what happens if you put a function in it.
Re: Start Scripting -
mamalzeus - 03.12.2014
Quote:
Originally Posted by AIped
yes you should know about functions you see in the wiki.
and yes you should just start to try something.
why dont you just open pawno click on the left corner (new file)
then you already see alot of codes..those are callbacks.
check out any callback..type the name of the callback in the sa-mp wiki and read what it does.
If you understand callbacks, you can try what happens if you put a function in it.
|
yes for example now i read about what's public !
calback's are very much and i should read and try to make
thank you man ! you help me so much