SixNine
Active Member
- Joined
- Dec 12, 2018
- Messages
- 452
- Reaction score
- 41
PHP:
<td valign="top" width="55" height="18" background="images/character/n1.png"></td><td width="45" height="18" background="images/character/s0b.png"><center><b>'.player->getStorage(69420).'</b></center></td>
this is playerdeath.lua
Lua:
--my aac counter without limit
if killer:isPlayer() then
if killer:getStorageValue(69420) < 0 then
killer:setStorageValue(69420, 1)
else
killer:setStorageValue(69420, killer:getStorageValue(69420)+1)
end
end
it suppose to show kills for example of you kill 60 players it would say
Kills: 60
but im getting this error in my characters.php
Parse error: syntax error, unexpected '->' (T_OBJECT_OPERATOR), expecting ',' or ';' in /var/www/html/system/pages/characters.php on line 630