Need help Refund Box
#1

Hey guys.

i wanna make a Refund box for new players.
If you typ /getrefund that you get:

10 Crack
10 pot
level 3
500k Cash
1mill Bank
ETC

Can anyone help me with that ??
I really hope it. and you get ++++rep
Reply
#2

Can't you just give it to them when they register? Why does it have to be a seperate command?
Reply
#3

Hmm.
Because i thought its nicer that they need to typ a command.
Because its more roleplay,
and i want it than for only level 1 people
Youknow :P
Reply
#4

Typing a command isn't really realistic anyway. You don't have commands in real life. Why not make a checkpoint or something? (Okay, checkpoints aren't real, but meh.)

Anyway, you need to post your variable declarations. Essentially you need this:

pInfo[playerid][pCrack] = 10;

or whatever your variables are.
Reply
#5

Can ya help me a little more :S
Reply
#6

I'm trying to do it as well.
Reply
#7

When they use the command just make it save in a variable that also saves in your dini or whatever,
pawn Код:
PlayerInfo[playerid][UsedRefund] = 1;
And if the person trys to use the refund command add on top
pawn Код:
if(PlayerInfo[playerid][UsedRefund] == 1) return SendClientMessage(playerid,0xFF0000FF,"ERROR: You have used this command");
Reply
#8

Refunds are noob. Don't use it unless you want a fucked up server economy.
Reply
#9

It's prob. already fucked up that they need a refund lolz
Reply
#10

We need a script for this D:
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)