Jump to content

Question

5 answers to this question

Recommended Posts

  • 0
Posted
Acum 8 minute, jumainkain a spus:

Eu nu ma descurc deloc , si am nevoie de cineva sa imi faca :)

te pot ajuta eu Kround#7434

  • 0
Posted
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

  • -1
Posted

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

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.