Need help...
#6

Quote:
Originally Posted by Vince
Посмотреть сообщение
And what comes before that line?
Well, here it is (on OnPlayerPickUpPickup)...

Код:
if(pickupid == Package)

	new str[128],Nick[24];
	GetPlayerName(playerid,Nick,24);
	new Cash = (random(30)+20)*5000;
	format(str,128,"~b~Player ~r~%s ~b~found hidden package and won ~g~%d$!",Nick,Cash);
	GameTextForAll(params[(strlen(tmp)+strlen(tmp2)+2)], strval(tmp2), strval(tmp));
	GivePlayerMoney(playerid,Cash);
	DestroyPickup(Package);
	Package=0;
	}
And I'm not sure about these lines below:

Код:
new str[128],Nick[24];
Correct me if I'm wrong here

Lib
Reply


Messages In This Thread
Need help... - by Libra_PL - 24.08.2010, 14:20
Re: Need help... - by Vince - 24.08.2010, 14:28
Re: Need help... - by playbox12 - 24.08.2010, 14:29
Re: Need help... - by Vince - 24.08.2010, 14:33
Re: Need help... - by playbox12 - 24.08.2010, 14:34
Re: Need help... - by Libra_PL - 24.08.2010, 15:07

Forum Jump:


Users browsing this thread: 2 Guest(s)