SCM Spam
#1

PHP код:
if(checkpointid == WeedHouse1 || checkpointid == WeedHouse2 || checkpointid == WeedHouse3)
                {
                    if(
playerData[playerid][playerJob] == JOB_DRUGDEALER)
                    {
                            
ShowPlayerDialog(playeridDIALOG_WEED_HOUSEDIALOG_STYLE_LIST"Drug House Menu""Buy 1 drug seed(1000$)\nBuy 4 Drug Seeds(3600$)\nBuy 10 drug seeds(8000$)\nSell weed (rate: 1 weed = 350$)""Select","");
                    }
                    else
                    {
                        
SendClientMessage(playeridCOLOR_RED"You must be a drug dealer to buy seeds!" );
                    }                    
                
                } 
So this is the thing i use on player enter cp, when player is a drug dealer it works fine, but when he she isnt a drug dealer server sends him kinda 12-15 messages:

PHP код:
SendClientMessage(playeridCOLOR_RED"You must be a drug dealer to buy seeds!" ); 
Reply


Messages In This Thread
SCM Spam - by iLearner - 30.09.2016, 10:23
Re: SCM Spam - by Quinncell - 30.09.2016, 10:35
Re: SCM Spam - by iLearner - 30.09.2016, 10:47
Re: SCM Spam - by iLearner - 30.09.2016, 20:46
Re: SCM Spam - by SickAttack - 30.09.2016, 20:58

Forum Jump:


Users browsing this thread: 2 Guest(s)