its possible? i want make gold drop script on user die (user die -> system check how much gold user have -> take some % of usergold -> drop this % on user coords )
i heard something like that, when user die he lose a % of his gold but i'm not sure if you can drop it.
of topic: ur server has 199 users?
[@_DieScript]
#IF
HLSCRIPTCMD CHECKUNDEAD
#ACT
goto @playerrdead
[@playerrdead]
#CALL [HLSCRIPT\DieScript.TXT] @DieScriptExec
[@DieScriptExec]
{
#ACT
mov P1 %USERGOLD
mov D1 100
mov D2 10
MOV A0 %USERMAP
MOV A1 %USERX
MOV A2 %USERY
mul P1 D2
mov P2 %P9
div P2 D1
mov N1 %P9
take gold %N1
inc A1 2
formatstr "%s,%s,%s,0" %A0 %A1 %A2
DropItemMap %A9 Gold %N1 1
CLOSE
}