SA-MP Forums Archive
Question here....! - 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)
+--- Thread: Question here....! (/showthread.php?tid=337018)



Question here....! - Andrew97 - 24.04.2012

I just want to Know what is Variables: NEW,ELSE,IF and so.... If anyway Can give me the Link to Learn them All, It will be Good.... I don't want to know what is Variables but What are this THings(NEW,IF,ELSE,....)?


Re: Question here....! - ViniBorn - 24.04.2012

https://sampwiki.blast.hk/wiki/Scripting_Basics#Variables

With 'new' you create a variable.
pawn Код:
new MyVariable;
'if' and 'else' are conditional structures...
pawn Код:
new MyVariable = 5;

if(MyVariable == 5)
    printf("MyVariable is 5");
else
    printf("MyVariable isn't 5");



Re: Question here....! - Leo Karls - 24.04.2012

Check this out..
This link will give you a basic idea of what's scripting. https://sampwiki.blast.hk/wiki/Category:..._Documentation


Re: Question here....! - Nєχυѕ - 24.04.2012

Basics - https://sampwiki.blast.hk/wiki/Scripting_Basics#Variables
Get Started - https://sampwiki.blast.hk/wiki/Category:..._Documentation


Re: Question here....! - Vince - 24.04.2012

https://sampwiki.blast.hk/wiki/Keywords


Re: Question here....! - Andrew97 - 24.04.2012

Thanks Guys Very Much....