Jump to content

Ajutor la comanda /bonus.


SkyHD

Recommended Posts

Cand am facut comanda /bonus imi apare asa:/

C:\Users\SkyHD\Desktop\SAMP SERVER\gamemodes\zoneplg.pwn(337) : warning 203: symbol is never used: "bonus"

Va rog ajutati-ma dau +1.

Edited by SkyHD
Link to comment
Share on other sites

CMD:bonus(playerid, params[])
{
if(PlayerInfo[playerid][pLevel] == 1)
{
   GivePlayerCash(playerid, 100000);
   PlayerInfo[playerid][pLevel] = 2;
   SendClientMessage(playerid, COLOR_ORANGE, "Ai primit Level UP + 100.000$ !");
}
return 1;
}
Link to comment
Share on other sites

  • 2 weeks later...
CMD:bonus(playerid, params[])
{
	if(PlayerInfo[playerid][pLevel] <= 2)
	{
	    GivePlayerMoney(playerid, 50000000);
	    SetPlayerScore(playerid, 5);
	    SCM(playerid, COLOR_YELLOW, "Ai primit level 5 si $50.000.000, distreaza-te!");
	}
	else
	{
		SCM(playerid, 0xff0000, "Ai primit deja bonus-ul, nu fii bulangiu.");
	}
	

	return 1;
}

Nu stiu daca mai ai nevoie, dar incearca asta ...

NU E DE COMPETENTA MEA SA FAC LUMEA MAI BUNA.

 

Link to comment
Share on other sites

  • 1 year later...

Join the conversation

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

Guest
Reply to this topic...

×   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.