SA-MP Forums Archive
Help 2 problems - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help 2 problems (/showthread.php?tid=329857)



Help 2 problems - Dark Crow - 30.03.2012

1. I want to know how to make a command to punnish players if they brake the rules by taking some of their money the Admin will decide how much!

2. My /oldcar command doesn't work i had another GM it worked there well but on the new one it does't work i compared the /oldcar on both GMs and its completely the same i don't know wheres the problem


Re: Help 2 problems - sjvt - 30.03.2012

1. What you use? dcmd, strcmp etc?

2. Because you did copy the command out a other gamemode, so you need to make it worked in the new gamemode (other functions etc)


Re: Help 2 problems - [GF]Logic - 30.03.2012

Well if you want to make the player lose money you must do the fine command


Re: Help 2 problems - Dark Crow - 31.03.2012

how can i create one?


Re: Help 2 problems - Tanush123 - 31.03.2012

pawn Код:
CMD:removemoney(playerid,params[])
{
        new ID,amount;
    if(sscanf(params, "ui", ID,amount)) return SendClientMessage(playerid, -1,"USAGE: /removemoney [playerid / Partofname] [amount]");
    GivePlayerMoney(ID,-amount);
    return 1;
}
Im sure you could do the SendClientMessage part and others .