W*F IS WRONG?
#1

THIS IS SO STRANGE(OMG):

pawn Код:
SetPlayerMoney(playerid,dini_Int(String,"Money"));
undefined SetPlayerMoney (/facepalm,I even have the save system at OnPlayerDisconnect so WTF?( yesterday was working)
Reply
#2

What are your errors?
Reply
#3

It's GivePlayerMoney.
Reply
#4

Quote:
Originally Posted by [NoV]LaZ
Посмотреть сообщение
It's GivePlayerMoney.
shouldn't they both have the same effect?
Reply
#5

GivePlayerMoney(playerid, dini_Int(String,"Money"));
Reply
#6

Or, you can make your own SetPlayerMoney stock:
pawn Код:
stock SetPlayerMoney( playerid, money )
{
    ResetPlayerMoney( playerid );
    GivePlayerMoney( playerid, money );
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)