Can i Connect 2 filterscript ?
#1

Huy guys ... So i am using ryder race system and i want to disable player boost while in race ... So can i connect my game mode with filterscript so that i can disable player bost

2: can you give me code like player should exit his vehicle so he should be kicked out of race.
Reply
#2

1. pVars.
2. OnPlayerStateChange.
Reply
#3

Quote:
Originally Posted by MP2
Посмотреть сообщение
1. pVars.
2. OnPlayerStateChange.
1: did'nt get ya ?
2: post full code please
Reply
#4

Quote:
Originally Posted by мυ∂υℓ_вacнα
Посмотреть сообщение
1: did'nt get ya ?
2: post full code please
1. One of many usage of Per-player variable system or the so called "pVars" is to communicate a filterscript and a gamemode. Basically you Set a Pvar (Int) / Set a Pvar (Str) on your Filterscript and then Get a Pvar (Int) / Get a Pvar (Str)
2. Read some tutorials and it'll be easy as a nut.

Some wiki pVar definitions:
Quote:

PVars can be shared/accessed across gamemode scripts and filterscripts, making it easier to modularise your code.

Quote:

is a new way of creating player variables in an efficient dynamically created method globally, meaning they can be used in server's gamemode and filterscripts at the same time.

Reply
#5

link of any tutorial ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)