• Welcome to Vice City Multiplayer.
 

some questions

Started by Gradl, April 10, 2010, 05:37:15 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Gradl

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

Boss

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 (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 to them.

Gradl

Thanks for your answer, will try it.

[AoD]NC

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?

Boss

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.

Gradl

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);


Boss

You can't set player's facing angle for the spawn screen, model will always face zero angle.

[AoD]NC

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.
* [AoD]NC rofled

That was possible even in R1 :x and in Squirrel!

thijn

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.
* [AoD]NC rofled

That was possible even in R1 :x and in Squirrel!
thats why i keep saying pawn failed :-X


Boss

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.

thijn

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.


Knucis

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

[AoD]NC

Yep tester just only test ;).

But is the rcon command to set time still available?

thijn

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


Boss