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
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.
Thanks for your answer, will try it.
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?
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.
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);
You can't set player's facing angle for the spawn screen, model will always face zero angle.
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!
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
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.
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.
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
Yep tester just only test ;).
But is the rcon command to set time still available?
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
http://forum.vicecitymultiplayer.com/index.php?topic=135.0
sethr and setmin
Then maybe pawn users can use the send rcon thing to change the hour?
That is possible (never tried myself though).