Vice City Multiplayer

VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: VerceTTi on February 26, 2012, 10:41:05 am

Title: Help for timing In announce message
Post by: VerceTTi on February 26, 2012, 10:41:05 am
How can we set Timing in announce msg for pawn like it was in ULK open challenge in the past
Title: Re: Help for Timing In Announce Message
Post by: [Tkiller] on February 26, 2012, 11:11:21 am
what do you mean by announce...
There is only news system.....
Title: Re: Help for Timing In Announce Message
Post by: VerceTTi on March 09, 2012, 12:11:42 pm
what do you mean by announce...
There is only news system.....
ufffffff should i have to say full details: /c ann [msg] or /c ann2 [msg] i wanna know that how should we set timer in announce ( /c ann2 [msg] ) and plz dont try to say this "it is impossible in pawn" IT IS POSSIBLE see this video if you did'nt believe http://www.youtube.com/watch?v=laWLTnSuOnY
Title: Re: Help for timing In announce message
Post by: [AoD]NC on March 24, 2012, 01:15:19 am
You want that timer at the bottom of screen?

So... Use a timer where you call an announce/big letters every second with a different value?

/me hides
Title: Re: Help for timing In announce message
Post by: DilsonTB on March 24, 2012, 05:51:23 pm
This just an improvisated script of timer:
[pawn]
public TimeforAD(playerid) // Thanks Fuzzy btw i said " its and improvisate idea"
}
GameTextForPlayer(playerid,"~y~Here is where ~o~the text go"); // ~y~ and ~o~ are colors for text
}   [/pawn]

[pawn]OnPlayerConnect( )
}
Settimer("TimeforAD",5000,0);
return 0;
}[/pawn]
Title: Re: Help for timing In announce message
Post by: Fuzzy168 on March 24, 2012, 06:13:19 pm
[pawn]public TimeforAD( )
}
GameTextForPlayer(playerid,"~y~Here is where ~o~the text go"); // ~y~ and ~o~ are colors for text
}   [/pawn]

Fail...


Where is the GameTextForPlayer getting the playerid from?
Title: Re: Help for timing In announce message
Post by: VerceTTi on March 25, 2012, 03:41:06 pm
Guyz i mean that time will automatically forwarding in "GameTextForAllBottom" like

01:01
01:02
01:03
01:04

when 1 over from 01:01 to 50 then it starts 02

02:01
02:02
02:03
02:04

But Only in "GameTextForAllBottom" ,see this video  http://www.youtube.com/watch?v=laWLTnSuOnY, i want like this in this video
Title: Re: Help for timing In announce message
Post by: [AoD]NC on March 26, 2012, 12:43:30 am
You have to make a one second timer, that's for sure. And in that timer you put a global variable, that will decrease every second. Try to set the global variable to 60, decrease it every second and show the new value by game text!
Title: Re: Help for timing In announce message
Post by: VerceTTi on March 26, 2012, 05:38:21 pm
NC you helped good but i still did'nt get it. Can you make it for me if possible
Title: Re: Help for timing In announce message
Post by: [AoD]NC on March 26, 2012, 10:05:04 pm
I would like to help you, but I can't script in paw, only squirrel, I could try to make a squirrel script but you would have to rewrite it for PAWN :@.
Title: Re: Help for timing In announce message
Post by: VerceTTi on March 27, 2012, 05:47:50 pm
Is it possible for doing in notepad NC? if you don't mind  :D
Title: Re: Help for timing In announce message
Post by: Mansoor ali on April 16, 2012, 09:26:00 am
Man! i can make this but it get more time  :(  :-[ this is posible.