need some help +rep - 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: need some help +rep (
/showthread.php?tid=374587)
need some help +rep -
rumen98 - 03.09.2012
Hi guys now who can say me how to create one file in scirptfiles named Heroin and then type /buyherion to check how many Heroin have in the file ? and then i type /buyheroin 3000 but in file write Heroin = 2600 to can buy only 2600 after buy to write Heroin = 0 i give reputation for help
Sorry for my bad english
Re: need some help +rep -
Cjgogo - 03.09.2012
Well,HAVEN'T YOU HEARD of file-writting/reading systemn,try Y_INI,and follow tutorials
https://sampforum.blast.hk/showthread.php?tid=175565
Re: need some help +rep -
rumen98 - 03.09.2012
Quote:
Originally Posted by Cjgogo
|
I dont know how to make :X can you help me
Re: need some help +rep -
[HK]Ryder[AN] - 03.09.2012
Just read the whole thread and TRY to UNDERSTAND it...
Re: need some help +rep -
rumen98 - 03.09.2012
Quote:
Originally Posted by [HK]Ryder[AN]
Just read the whole thread and TRY to UNDERSTAND it...
|
Need system with 1 cmd /buyheroin (heroin)
but i no need infinity heroin i need file in scriptfiles named "Heroin"
and in file need to write Heroin = (any number)
then /buyheroin (heroin) to write file how many heroins have curently
Re: need some help +rep -
[HK]Ryder[AN] - 03.09.2012
I said read the Y_INI thread and understand how to use it.
Re: need some help +rep -
Cjgogo - 03.09.2012
What you're saying doesn't even make sense,you want the same FILE for all players?If theres 10000 heroin paks(lot of drugs LOLz),and 10 players ask for 1000 heroin pack,then the file would empty,and the 11th player...?==>NO heroin.
Re: need some help +rep -
rumen98 - 03.09.2012
Quote:
Originally Posted by [HK]Ryder[AN]
I said read the Y_INI thread and understand how to use it.
|
why do you cant help me ?
Re: need some help +rep -
TaLhA XIV - 03.09.2012
Quote:
Originally Posted by rumen98
why do you cant help me ?
|
That is because he should not script for you,you should read tutorials and gain knowledge.
Re: need some help +rep -
rumen98 - 03.09.2012
Quote:
Originally Posted by TaLhA XIV
That is because he should not script for you,you should read tutorials and gain knowledge.
|
yes, i know but i dont know how to make them