08.02.2011, 17:27
Hallo!
Give me zcmd money command
What give all money to 0
help please :P
Give me zcmd money command
What give all money to 0
help please :P
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;
}
Hallo! Give me zcmd money command What give all money to 0 help please :P |