help for money command
#1

Hallo!
Give me zcmd money command
What give all money to 0
help please :P
Reply
#2

omg no help?
Reply
#3

Dont bump your topic after just 30mins.. There is a rule that says that you are only allowed to bump every 12 hours!

Anyways.. You need a command that set's the players money to 0?
Reply
#4

If you 'need' it, there's the script request thread (And not scripting discussion). Anyways, assuming you're using sscanf with zcmd:
pawn Код:
COMMAND:resetmoney(playerid, params[])
{
  //Change the IsPlayerAdmin to w/e your admin system uses
  if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0x0f0f0f0f, "Thou are no admin, therefore I shall direct thy the door. GTFO.");
  new target;
  if(sscanf(params, "u", target)) return SendClientMessage(playerid, 0x0f0f0f0f, "Enter a target, damnit.");
  else if(!IsPlayerConnected(target)) return SendClientMessage(playerid, 0x0f0f0f0f, "Dat dude is not connected, you're doing it wrong.");
  ResetPlayerMoney(target);
  SendClientMessage(playerid, 0x0f0f0f0f, "Ya rly is r work good job Sir!");
  return 1;
}
Should work. I think. But everytime I post code, it usually doesn't work.
Reply
#5

srsly why do you even help him look he's style to write?


Quote:

Hallo!
Give me zcmd money command
What give all money to 0
help please :P

when a guy says like this i would never even think about helping him
GIVE ME ZCMD MONEY COMMAND
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)