Dateien

> > CS2D > Lua Scripts > Additional Parameter 'HASH' to Player()
DateiübersichtCS2D-ÜbersichtLua Scripts-Übersicht

Englisch Additional Parameter 'HASH' to Player() >

22 Kommentare621 b, 465 Downloads

alt Additional Parameter 'HASH' to Player()

Apache uwu
User Off Offline

It's very simple.

1
msg(player(id,"hash"))

However if you are the host of the game and you try to display the hash of id#1 it will instead show "UNKNOWN".

This should be used as a file integrity check, do not ban by hash.

I have added a simple test, you just need to say "what's my hash" and the game will return a msg2 to you.

IMPORTANT! DO NOT ADD ANY HOOKS AFTER HOOK_LOG THIS WILL CRASH YOUR GAME.

Instead write your hooks before:

1
2
addhook("hookbefore","hookbefore")
addhook("log","_log")
3× editiert, zuletzt 11.08.11 04:52:02
Zugelassen von Seekay

Download Download

621 b, 465 Downloads

Kommentare

22 Kommentare
Seite
Zum Anfang Vorherige 1 2 Nächste Zum Anfang

Logge dich ein!

Du musst dich einloggen, um selber Kommentare verfassen zu können!Einloggen

alt

Apache uwu
User Off Offline

How was I pushing? Explain.

alt

Bowlinghead
User Off Offline

dont push up your threads !!
Zum Anfang Vorherige 1 2 Nächste Zum Anfang