Vice City Multiplayer

VC:MP => mIRC/pawn Scripting => Topic started by: Gradl on April 10, 2010, 05:37:15 PM

Title: some questions
Post by: Gradl on April 10, 2010, 05:37:15 PM
Hi VC:MP-Community,

I'm currently trying to teach me some PAWNO and I have some questions  ;). for your info my script basis is the GUPS 1.15.

a.) Why is the ingame clock not working with GUPS 1.15?

b.) Is it possible that nobody can see the commands with !

c.) Can I make a "/c s" say command that only people arround someone can hear it. Like on SA:MP RP Servers.  

Regads
Title: Re: some questions
Post by: Boss on April 10, 2010, 06:32:11 PM
Quote from: Gradl on April 10, 2010, 05:37:15 PM
a.) Why is the ingame clock not working with GUPS 1.15?
Functions to set time will only be avaliable in 0.4.

Quote from: Gradl on April 10, 2010, 05:37:15 PM
b.) Is it possible that nobody can see the commands with !
Um, what for? Their main purpose is to be visible to the main chat. But, anyway, the answer is "yes": you will have to just put "return 0" in OnPlayerText (http://tdhclan.ru/wiki/index.php/OnPlayerText) (added in 0.4 too).

Quote from: Gradl on April 10, 2010, 05:37:15 PM
c.) Can I make a "/c s" say command that only people arround someone can hear it. Like on SA:MP RP Servers.  
You can get distances of all the players to the target player and if distance < some value then SendClientMessage (http://tdhclan.ru/wiki/index.php/SendClientMessage) to them.
Title: Re: some questions
Post by: Gradl on April 10, 2010, 07:05:59 PM
Thanks for your answer, will try it.
Title: Re: some questions
Post by: [AoD]NC on April 10, 2010, 10:45:22 PM
Quote from: Boss on April 10, 2010, 06:32:11 PM
Quote from: Gradl on April 10, 2010, 05:37:15 PM
a.) Why is the ingame clock not working with GUPS 1.15?
Functions to set time will only be avaliable in 0.4.
Emmmm?
Title: Re: some questions
Post by: Boss on April 10, 2010, 11:18:00 PM
Quote from: [AoD]NC on April 10, 2010, 10:45:22 PM
Emmmm?
SetWorldTime works only in OnGameModeInit and can only set hour. You can't make a working clock with it.
Title: Re: some questions
Post by: Gradl on April 11, 2010, 02:29:59 PM
How can I change the Players facing on the class selection, there seems to be no angle coordinate. My playermodel is facing to ? (maybe north)

my values (Ocean View Hotel):

   SetCameraPos(228.3476, -1266.8961, 20.1146);
   SetCameraLookAt(229.9606, -1266.3370, 20.1138);
   SetPlayerStartPos(231.8831, -1265.0271, 20.1123);

Title: Re: some questions
Post by: Boss on April 11, 2010, 03:22:37 PM
You can't set player's facing angle for the spawn screen, model will always face zero angle.
Title: Re: some questions
Post by: [AoD]NC on April 11, 2010, 08:18:00 PM
Quote from: Boss on April 10, 2010, 11:18:00 PM
Quote from: [AoD]NC on April 10, 2010, 10:45:22 PM
Emmmm?
SetWorldTime works only in OnGameModeInit and can only set hour. You can't make a working clock with it.
/me rofled

That was possible even in R1 :x and in Squirrel!
Title: Re: some questions
Post by: thijn on April 11, 2010, 08:43:15 PM
Quote from: [AoD]NC on April 11, 2010, 08:18:00 PM
Quote from: Boss on April 10, 2010, 11:18:00 PM
Quote from: [AoD]NC on April 10, 2010, 10:45:22 PM
Emmmm?
SetWorldTime works only in OnGameModeInit and can only set hour. You can't make a working clock with it.
/me rofled

That was possible even in R1 :x and in Squirrel!
thats why i keep saying pawn failed :-X
Title: Re: some questions
Post by: Boss on April 11, 2010, 09:16:20 PM
Quote from: thijn on April 11, 2010, 08:43:15 PM
thats why i keep saying pawn failed :-X
Instead of improving it as a tester.
Title: Re: some questions
Post by: thijn on April 11, 2010, 10:38:01 PM
Quote from: Boss on April 11, 2010, 09:16:20 PM
Quote from: thijn on April 11, 2010, 08:43:15 PM
thats why i keep saying pawn failed :-X
Instead of improving it as a tester.
Being an Tester and a Developer is something different...
All I can do is reporting Bugs, Which I do.
Title: Re: some questions
Post by: Knucis on April 12, 2010, 12:08:54 AM
Quote from: thijn on April 11, 2010, 10:38:01 PM
Quote from: Boss on April 11, 2010, 09:16:20 PM
Quote from: thijn on April 11, 2010, 08:43:15 PM
thats why i keep saying pawn failed :-X
Instead of improving it as a tester.
Being an Tester and a Developer is something different...
All I can do is reporting Bugs, Which I do.
Owned! lol
Title: Re: some questions
Post by: [AoD]NC on April 12, 2010, 03:30:57 PM
Yep tester just only test ;).

But is the rcon command to set time still available?
Title: Re: some questions
Post by: thijn on April 12, 2010, 04:20:48 PM
Quote from: [AoD]NC on April 12, 2010, 03:30:57 PM
Yep tester just only test ;).

But is the rcon command to set time still available?
not sure, I think it is
Title: Re: some questions
Post by: Boss on April 12, 2010, 08:36:32 PM
http://forum.vicecitymultiplayer.com/index.php?topic=135.0
sethr and setmin
Title: Re: some questions
Post by: [AoD]NC on April 16, 2010, 02:21:16 PM
Then maybe pawn users can use the send rcon thing to change the hour?
Title: Re: some questions
Post by: Boss on April 16, 2010, 02:26:06 PM
That is possible (never tried myself though).