Main bug.
#1

The problem is, the player doesn't gets moneys at being registered even I added give player money functions under onplayerspawn and if I give a player moneys by admincmd still he has 0 dafuq pls help
Reply
#2

Show us some code.
Reply
#3

In the script there are many codes of give player money so shall I send you the full game mode for it?
Reply
#4

Hell no. Show me the code where you expect the money to rise.
Reply
#5

Alright here it is
pawn Код:
PlayerInfo[playerid][Moneys] = 7500;
GivePlayerMoney(playerid,7500);
Reply
#6

Well this tells me nothing really. Make a simple command that will add some money for you and test it if it works.
Reply
#7

pawn Код:
PlayerInfo[playerid][Moneys] = 7500;
GivePlayerMoney(playerid,PlayerInfo[playerid][Moneys]);
or
pawn Код:
PlayerInfo[playerid][Moneys] = 7500;
SetPlayerMoney(playerid,PlayerInfo[playerid][Moneys]);
Reply
#8

Quote:
Originally Posted by IceBilizard
Посмотреть сообщение
pawn Код:
SetPlayerMoney(playerid,PlayerInfo[playerid][Moneys]);
There is no such function.
Reply
#9

Fixed myself, thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)