[HELP] Money commands.
#2

ondialogresponse:

PHP код:
if(GetPlayerMoney(playerid) < 1) return SendClientMessage(playerid0xFFFFFF"You don't have the Money!");
                        
GivePlayerMoney(playerid, -3000);//removing 3000$ , u can edite it
                        
GivePlayerWeapon(playerid31,100);// Spawning to him a M4
                        
PlayerPlaySound(playerid10570.00.010.0);//Playing the Sound
                        
SendClientMessage(playerid0x9EC73DAA"You bought a M4 and lose 3000$");
                    } 
Reply


Messages In This Thread
[HELP] Money commands. - by Swizzzy - 05.10.2011, 19:27
Re: [HELP] Money commands. - by ServerScripter - 05.10.2011, 19:35

Forum Jump:


Users browsing this thread: 1 Guest(s)