Help Me Please, I Got Some Questions . - 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: Help Me Please, I Got Some Questions . (
/showthread.php?tid=153353)
Help Me Please, I Got Some Questions . -
_Clear_ - 08.06.2010
Hello .
Im New Here And In Pawn .
* Sorry For My Weak English *
I'd Like To Ask You Some Questions :
1 . What Is This " sizeof " ?
2 . What Return Value Mean ? ( Like What The Different In " return 1; " And " return 0; "
3 . What Is This " const " And " strtok " ?
4 . What The Number In [] Mean ( Like " tmp [256] " ) And How Can I Use This ?
Thanks , Orel .
Re: Help Me Please, I Got Some Questions . -
Aleksandar_Zivanovci - 08.06.2010
go to SAMP Wiki
Re: Help Me Please, I Got Some Questions . -
Jakku - 08.06.2010
Quote:
Originally Posted by _Clear_
Hello .
Im New Here And In Pawn .
* Sorry For My Weak English *
I'd Like To Ask You Some Questions :
1 . What Is This " sizeof " ?
2 . What Return Value Mean ? ( Like What The Different In " return 1; " And " return 0; "
3 . What Is This " const " And " strtok " ?
4 . What The Number In [] Mean ( Like " tmp [256] " ) And How Can I Use This ?
Thanks , Orel . 
|
1. "Sizeof" is the length of a parameter. Eg:
pawn Код:
new name[24];
GetPlayerName(playerid, name, sizeof(name));
sizeof(name)) is same as new name
[24]
2. If you use "return 0" it will stop the function and it will not continue.
For other questions, I think someone else can explain them better. I know what they mean, but I can't explain them clearly.
Hope you understood even something
Re: Help Me Please, I Got Some Questions . -
_Clear_ - 08.06.2010
Thank You Very Much !
Im In SAMP-Wiki Right Now . 
Waiting For Other Comments . :P