how to give player money scirpt
#1

i have gm,

how to make script in my GM if players spawn for new member (so just for once, at the first time he registered), they will get 50000..

i put onplayerspawn

giveplayermoney(playerid, 50000)

when i spawn it always gime 50000,

i want to make them just for once, at the first time when they register )

pls help me
Reply
#2

Go to the OnPlayerConnect callback, you should see somehting related to
pawn Код:
if(!fexist(file))
In that if statement, you would put
pawn Код:
GivePlayerMoney(playerid,50000);


Did this help you?
Reply
#3

Quote:
Originally Posted by kin
Посмотреть сообщение
Go to the OnPlayerConnect callback, you should see somehting related to
pawn Код:
if(!fexist(file))
In that if statement, you would put
pawn Код:
GivePlayerMoney(playerid,50000);


Did this help you?
undefined symbile file

?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)