strings, 2 different scripts.
#1

hello!

how can I include functions and strings from another filterscript into a new one?
is that possible?

because I want to disable boost f.ex when I am in a race, But the variables and strings from the race are not in the same filterscript as the boost, so how can I disable?
lol, hard to explain.


Thanks!
Reply
#2

I suggest just adding it all into one script and go by there..
Reply
#3

good idea, But it's like 20 900 lines to move and include in one single script. to much.
Reply
#4

By using setpvar's.

https://sampwiki.blast.hk/wiki/SetPVarString
Reply
#5

Thanks a lot, so now I can get string values into another script? awesome, Thanks a lot!
Reply
#6

Yeah add me on skype dude, jim_mcb_99
Reply
#7

I'll do when I get home, Thanks.

so when I use pvars it will be possible to use the same variable in all the scripts I want, with the same results?
Reply
#8

bump. u know, I am inpatient, sorry.
Reply
#9

Yes,But there's a limit for pvar's, it's around 800.

a little thing, before ask some stuff like this, you should test yourself and learn with it, instead of ask for one thing that is explained at samp wiki.
Reply
#10

Okay, Thanks alot, maybe I should do so
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)