Jump to content
  • -2

Comanda bonus!


VAurel

Question

5 answers to this question

Recommended Posts

  • 0
La 08.03.2019 la 16:12, LucaAdv. a spus:

Poftim cod-ul  ! :
 


CMD:bonus(playerid,params[], help)
{
	new str[128];
	if(PlayerInfo[playerid][pLevel] != 1) return SCM(playerid, -1, "Ai luat deja acest bonus");
	if(IsPlayerConnected(playerid))
	{
 	   	{
			PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
	    	GivePlayerCash(playerid, 100000000);
			PlayerInfo[playerid][pLevel] = 7;
            PlayerInfo[playerid][pPremiumPoints] += 2080;		
			PlayerInfo[playerid][pCarLic] = 1;
			PlayerInfo[playerid][pCarLicT] = 100;
  	        Update(playerid, pCashx);
   		 	Update(playerid, pLevelx);
		    Update(playerid, pPremiumPointsx);
          	Update(playerid, pCarLic);
			mysql_query(SQL,str);
	     	ShowPlayerDialog(playerid, 3354, DIALOG_STYLE_MSGBOX, "Server Bonus", "{ffffff}Ai folosit comanda /bonus si ai primit:\n Level 7\n - 100.000.000 $\n -{ffff00} 2080 {ffffff}Puncte Premium si Licenta de Driving !","OK","");
		}
	}
	return 1;
}

Daca folosesti cmd daca nu pui YCMD

Multumesc , puteti da T/C

Link to comment
Share on other sites

  • -1

Poftim cod-ul  ! :
 

CMD:bonus(playerid,params[], help)
{
	new str[128];
	if(PlayerInfo[playerid][pLevel] != 1) return SCM(playerid, -1, "Ai luat deja acest bonus");
	if(IsPlayerConnected(playerid))
	{
 	   	{
			PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
	    	GivePlayerCash(playerid, 100000000);
			PlayerInfo[playerid][pLevel] = 7;
            PlayerInfo[playerid][pPremiumPoints] += 2080;		
			PlayerInfo[playerid][pCarLic] = 1;
			PlayerInfo[playerid][pCarLicT] = 100;
  	        Update(playerid, pCashx);
   		 	Update(playerid, pLevelx);
		    Update(playerid, pPremiumPointsx);
          	Update(playerid, pCarLic);
			mysql_query(SQL,str);
	     	ShowPlayerDialog(playerid, 3354, DIALOG_STYLE_MSGBOX, "Server Bonus", "{ffffff}Ai folosit comanda /bonus si ai primit:\n Level 7\n - 100.000.000 $\n -{ffff00} 2080 {ffffff}Puncte Premium si Licenta de Driving !","OK","");
		}
	}
	return 1;
}

Daca folosesti cmd daca nu pui YCMD

  • Like 1

GameMode Edited: gamemode

Servicii Scripting:

Contact:
Email: [email protected]
Discord: LucaAdv //  LHS#9084

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.