Stats don't save..
#1

Hi guys.
I have had an error ..
It is that I can't save the score on my server.
Can anyone have a solution ? Thanks.
MORE NOTES:-
1.I use ladmin to set my score , but doesn't saved. [EDIT:Changed to LuxAdmin][SOLVED]
2.I need help to make that if someone kills the other , the killer gets +1 score and the killed gets -1 score.[SOLVED]

Thanks in advance .
Reply
#2

To be honest I never heard of ladmin before, could you show us some codes?
Reply
#3

Dude..It is Lethal's Admin FS ..
It is on the forums lol...
Reply
#4

Well too bad I never heard of that FS, show the codes..
*EDIT:
A admin filterscript explains everything for itself, it has nothing to do with stats.
Reply
#5

But... since it does register/login players.. why won't it save score? "By the way I am sorry I meant score >.<"
Reply
#6

Quote:

2.I need help to make that if someone kills the other , the killer gets +1 score and the killed gets -1 score.

it is pretty simple though.

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
SetPlayerScore(playerid, -1);
SetPlayerScore(killerid, +1);
return 1;
}
Reply
#7

Quote:
Originally Posted by Rufio
Посмотреть сообщение
it is pretty simple though.

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
SetPlayerScore(playerid, -1);
SetPlayerScore(killerid, +1);
return 1;
}
Got the following errors / warnings

pawn Код:
E:\GTA SAMP\VSM Company\VSM GL\gamemodes\VSMGL.pwn(3200) : error 029: invalid expression, assumed zero
E:\GTA SAMP\VSM Company\VSM GL\gamemodes\VSMGL.pwn(3200) : warning 215: expression has no effect
E:\GTA SAMP\VSM Company\VSM GL\gamemodes\VSMGL.pwn(3200) : error 001: expected token: ";", but found ")"
E:\GTA SAMP\VSM Company\VSM GL\gamemodes\VSMGL.pwn(3200) : error 029: invalid expression, assumed zero
E:\GTA SAMP\VSM Company\VSM GL\gamemodes\VSMGL.pwn(3200) : fatal error 107: too many error messages on one line
Reply
#8

and which is the 3200 th line ?

edit oh my bad. delete + lol
Reply
#9

Quote:
Originally Posted by Rufio
Посмотреть сообщение
and which is the 3200 th line ?
pawn Код:
SetPlayerScore(killerid, +1);
BTW I have a warning that I used to get,so don't put it in mind lol.
Reply
#10

I edited my post sorry again ^^ if it doesnt work just tell me ^^
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)