Files

> > CS2D > Lua Scripts > Additional Parameter 'HASH' to Player()
Files overviewCS2D overviewLua Scripts overview

English Additional Parameter 'HASH' to Player() >

22 comments621 b, 489 Downloads

old 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")
edited 3×, last 11.08.11 04:52:02 am
Approved by Seekay

Download Download

621 b, 489 Downloads

Comments

22 comments
Page
To the start Previous 1 2 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

Apache uwu
User Off Offline

How was I pushing? Explain.

old

Bowlinghead
User Off Offline

dont push up your threads !!
To the start Previous 1 2 Next To the start