I really need help seriously.
#4

doesn't work, or maybe im doing something wrong, it says that I won in 0.0 :O
sorry, im a noob at scripting, even im reading the wiki it doesnt help

Код:
	GivePlayerMoney(playerid, 10000);
	SetTimer("SetBack",30,0); // required delay, for some reason.
	new reactionwinner[256];
	reactionwinnerid = playerid;
	new tempstring[256];
	GetPlayerName(playerid,reactionwinner,sizeof(reactionwinner));
	SendClientMessage(playerid,0x247C1BFF,"You have won the reactiontest!");
	new time_start = GetTickCount();
	new TimeDiff = (GetTickCount() - time_start) % 60000;
	format(tempstring,sizeof(tempstring),"%s has won the reactiontest in %d.%d",reactionwinner,TimeDiff / 100, TimeDiff % 100);
	SendClientMessageToAll(0xFFFF00FF,tempstring);
	reactiongap = SetTimer("ReactionTest",time1+random(time2),0); // sets the timer to restart ReactionTest()
	return 1;
I tried a lot but didnt work, and I really need it in my server
Reply


Messages In This Thread
I really need help seriously. - by speedruntrainer - 11.04.2009, 21:39
Re: I really need help seriously. - by speedruntrainer - 18.04.2009, 22:56
Re: I really need help seriously. - by Backwardsman97 - 19.04.2009, 00:43
Re: I really need help seriously. - by speedruntrainer - 19.04.2009, 15:33
Re: I really need help seriously. - by Backwardsman97 - 19.04.2009, 17:01
Re: I really need help seriously. - by speedruntrainer - 19.04.2009, 19:10

Forum Jump:


Users browsing this thread: 1 Guest(s)