SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 12/02/2016, 02:46 PM   #1
Karolukas123
Huge Clucker
 
Join Date: Nov 2013
Posts: 371
Reputation: 8
Default Giveplayermoney

hey, why i don't lose all money, and to other player not adding money


Code:
}
CMD:fight(playerid, params[])
{
	new ID, Monge, msg[125];
    if(sscanf(params,"ud",ID,Monge)) return SendClientMessage(playerid,-1,"/fight V_P MONEY");
    if(ID == INVALID_PLAYER_ID) return SendClientMessage(playerid, -1, "NO THAT PLAYER IN SERVER");
	Monge = GameMoney;
	
	
	GivePlayerMoneyA(playerid, -GameMoney);
	GivePlayerMoneyA(id, GameMoney);
Karolukas123 is offline   Reply With Quote
Old 12/02/2016, 02:59 PM   #2
fuckingcruse
Gangsta
 
Join Date: Nov 2014
Posts: 526
Reputation: 8
Default Re: Giveplayermoney

Gamemoney = monge. Anway I asked them same doubt let them answer.
__________________
Hello all,
I am providing my scripting services at very low cost. You can expect a very good result of what feature you actually expect. PM me if you are interested.
fuckingcruse is offline   Reply With Quote
Old 12/02/2016, 03:03 PM   #3
SickAttack
High-roller
 
Join Date: Dec 2013
Posts: 4,772
Reputation: 754
Default Re: Giveplayermoney

Change 'Monge = GameMoney;' to 'GameMoney = Monge'.
SickAttack is offline   Reply With Quote
Old 12/02/2016, 03:21 PM   #4
Karolukas123
Huge Clucker
 
Join Date: Nov 2013
Posts: 371
Reputation: 8
Default Re: Giveplayermoney

ye.. thank you
Karolukas123 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with giveplayermoney uA1231 Scripting Help 8 05/02/2016 05:37 PM
GivePlayerMoney AustinWeerdGuy Scripting Help 2 06/01/2014 03:26 PM
[Ajuda] Giveplayermoney gabrielloko157 Português/Portuguese 3 15/12/2012 09:22 PM
[Pedido] GivePlayerMoney Nikeeziin_Map Português/Portuguese 2 15/11/2012 09:15 AM
need help for GivePlayerMoney timaoux Help Archive 4 07/08/2011 09:17 AM


All times are GMT. The time now is 09:10 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.