console?
#8

Quote:
Originally Posted by Lajko1
oky ty but i have 1 more question now i made when palyer enter checkpoint it will show him dialog so my dialog looks like this

Код:
public OnPlayerEnterStreamedCheckpoint(playerid, streamid)
{
	if(streamid == CopSaleCP)
	{
	  new string[256];
	  new playername[MAX_PLAYER_NAME];
	GetPlayerName(playerid, playername, MAX_PLAYER_NAME);		
	format(string,sizeof(string),"Tazer                   $25000",playername);
	ShowPlayerDialog(playerid,2,DIALOG_STYLE_LIST,"Welcome Officer! Anything For You?",string,"Buy","Cancel");
	  return 1;
	}
  return 1;
}
using checkpoint streamer thanks to ''Dragsta''

amm how i can make the i wrote ''Welcome Officer!'' but i want if is possible ''Welcome Officer (his name)" is that possible ? i think it is
and if is possible can u tell me how to make that, i try with ''Welcome Officer %s'' but it wont work...

so how i can make now when player wanan buy tazer he will get -25k and get a tazer ? idk like ''HaveTazer = 1'' - should be in code,so than he can use command /taze (id)

so as i tell i want when player buy ''Tazer'' he get -25000$ and if he dont have 25000 he get message ''Not Enough Money!''

how i can make this ?

Ty For Any Help!
Reply


Messages In This Thread
console? - by Lajko1 - 12.12.2009, 13:20
Re: console? - by SloProKiller - 12.12.2009, 13:59
Re: console? - by Lajko1 - 12.12.2009, 14:16
Re: console? - by saiberfun - 12.12.2009, 14:19
Re: console? - by Lajko1 - 12.12.2009, 16:02
Re: console? - by Lajko1 - 12.12.2009, 16:35
Re: console? - by MJ! - 12.12.2009, 16:50
Re: console? - by MJ! - 12.12.2009, 16:50
Re: console? - by Lajko1 - 12.12.2009, 17:04
Re: console? - by MJ! - 12.12.2009, 17:09

Forum Jump:


Users browsing this thread: 1 Guest(s)