Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
I don't see anything that specifically fits your request, but there are several things you could try.
For instance, there's this command:
UserToPlayer('PlayerA'):PushEvent('death')
Which, perhaps, you might be able to modify to:
UserToPlayer('PlayerA'):c_speedmult(multiplier)
... or some variation thereof. I don't *know* that this will work. Just a suggestion to try.
Another thing that *might* work would be:
c_speedmult(AllPlayers[number],multiplier)
Probably I'd try that one first. It seems the more likely format to work, to me.
Good luck!
They dont wok im tried
UserToPlayer('PlayerA'):c_speedmult(multiplier)
What i need write in ('PlayerA') ?
OR
What i need write in (AllPlayers[number],multiplier) = >> [number] what Number ?
From the same wiki page I linked, there's a command to find out each player's number on the server.
If you're the host, and the only one on, you'd be 1. Then next person to join should be 2, so if you wanted to increase their speed you could try opening the console and typing:
c_speedmult(AllPlayers[2],multiplier)
... replacing "multiplier" with whatever speed multiplier you wish them to have.
To apply any command to another player copy this line :
c_select(AllPlayers[number]) c_speedmult(multiplier)
number is the number of the player, and multiplier the speed you want.
To apply any command to all players the command is :
for k,v in pairs(AllPlayers) do c_select(v) c_speedmult(multiplier) end
c.speedmult(multiplier) can be any other command like c_makeinvisible()
for k,v in pairs(AllPlayers) do c_select(v) c_speedmult(2) end
speed is 2 x times.