#1

Код:
stock GivePlayerProgress(playerid, progress)
{
    GetPlayerScore(playerid) = GetPlayerScore(playerid) + progress; // error line
    return SetPlayerScore(playerid);
}
Код:
error 022: must be lvalue (non-constant)
No idea whats wrong
Reply
#2

Learn how to use GetPlayerScore and SetPlayerScore, check the wiki.
Reply
#3

Fixed it anyways
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)