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



Questions - newbie scripter - 09.11.2013

1. what is PVar and what is its uses and plz explain it,
2. how to toggle boolean??
//////////////////////////////////////////////////

OTHER: can someone give me a link where i can get the whole, YSI things


Re: Questions - DavidLuango - 09.11.2013

PVAR stores player data variables in a short way.
Although you can learn briefly in SAMP wiki

Boolean as a term we use it as bool. It's like BOOL TRUE BOOL FALSE as far as I am concerned and how they are implemented in C++.
It's like

TogglePlayerControllable(playerid, true)

TogglePlayerControllable(playerid, false)

I am not as sure nor remember but as far as I am concered Boolean is more likely to be this.

I've found a link for you to learn
https://sampwiki.blast.hk/wiki/Per-player_variable_system


Re: Questions - newbie scripter - 09.11.2013

can someone give me link for all YSI files/


Re: Questions - iZN - 09.11.2013

Quote:
Originally Posted by newbie scripter
Посмотреть сообщение
can someone give me link for all YSI files/
https://github.com/Y-Less/YSI/


Re: Questions - newbie scripter - 09.11.2013

ik that link, i should download all 1 by 1 but a link where i can have a some file like a .rar one


Re: Questions - iZN - 09.11.2013

Quote:
Originally Posted by newbie scripter
Посмотреть сообщение
ik that link, i should download all 1 by 1 but a link where i can have a some file like a .rar one
https://github.com/Y-Less/YSI/archive/master.zip


Re: Questions - newbie scripter - 09.11.2013

when i include y_ini i get
"y_debug.inc(114) : fatal error 100: cannot read from file: "internal\y_funcinc""


Re: Questions - iZN - 09.11.2013

Quote:
Originally Posted by newbie scripter
Посмотреть сообщение
when i include y_ini i get
"y_debug.inc(114) : fatal error 100: cannot read from file: "internal\y_funcinc""
y_ini must be placed like this:

pawn Код:
#include <YSI\y_ini>
If the file is still missing, the folder YSI should be copied properly and must be placed inside the pawno\include\ folder.


Re: Questions - newbie scripter - 09.11.2013

i did, even i included as u said. even the file y_funcinc is there


Re: Questions - newbie scripter - 11.11.2013

Help plz i need y_ini, or suggest my a nice ini writer , other than dini (i heard that that is old + slowwww)