Author Topic: some questions  (Read 7937 times)

0 Members and 1 Guest are viewing this topic.

Offline Gradl

  • Street Thug
  • *
  • Posts: 3
    • View Profile
some questions
« on: April 10, 2010, 06: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

Offline Boss

  • VC:MP Beta Tester (inactive)
  • Made Man
  • *
  • Posts: 229
  • Boss
    • View Profile
    • TDH Clan Site
Re: some questions
« Reply #1 on: April 10, 2010, 07:32:11 pm »
a.) Why is the ingame clock not working with GUPS 1.15?
Functions to set time will only be avaliable in 0.4.

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

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.

Offline Gradl

  • Street Thug
  • *
  • Posts: 3
    • View Profile
Re: some questions
« Reply #2 on: April 10, 2010, 08:05:59 pm »
Thanks for your answer, will try it.

Offline [AoD]NC

  • VC:MP Beta Tester
  • VC:MP Veteran
  • *
  • Posts: 616
  • AoD forever!
    • View Profile
    • KURWA MAĆ
Re: some questions
« Reply #3 on: April 10, 2010, 11:45:22 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?

Offline Boss

  • VC:MP Beta Tester (inactive)
  • Made Man
  • *
  • Posts: 229
  • Boss
    • View Profile
    • TDH Clan Site
Re: some questions
« Reply #4 on: April 11, 2010, 12:18:00 am »
Emmmm?
SetWorldTime works only in OnGameModeInit and can only set hour. You can't make a working clock with it.

Offline Gradl

  • Street Thug
  • *
  • Posts: 3
    • View Profile
Re: some questions
« Reply #5 on: April 11, 2010, 03: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);


Offline Boss

  • VC:MP Beta Tester (inactive)
  • Made Man
  • *
  • Posts: 229
  • Boss
    • View Profile
    • TDH Clan Site
Re: some questions
« Reply #6 on: April 11, 2010, 04:22:37 pm »
You can't set player's facing angle for the spawn screen, model will always face zero angle.

Offline [AoD]NC

  • VC:MP Beta Tester
  • VC:MP Veteran
  • *
  • Posts: 616
  • AoD forever!
    • View Profile
    • KURWA MAĆ
Re: some questions
« Reply #7 on: April 11, 2010, 09:18:00 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!

Offline thijn

  • LU testers
  • VC:MP Veteran
  • *
  • Posts: 667
  • Im proud to be pro.
    • View Profile
    • Vice Underdogs
Re: some questions
« Reply #8 on: April 11, 2010, 09:43:15 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

Offline Boss

  • VC:MP Beta Tester (inactive)
  • Made Man
  • *
  • Posts: 229
  • Boss
    • View Profile
    • TDH Clan Site
Re: some questions
« Reply #9 on: April 11, 2010, 10:16:20 pm »
thats why i keep saying pawn failed :-X
Instead of improving it as a tester.

Offline thijn

  • LU testers
  • VC:MP Veteran
  • *
  • Posts: 667
  • Im proud to be pro.
    • View Profile
    • Vice Underdogs
Re: some questions
« Reply #10 on: April 11, 2010, 11:38:01 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.

Offline Knucis

  • Wiseguy
  • **
  • Posts: 82
  • u wot m9
    • View Profile
Re: some questions
« Reply #11 on: April 12, 2010, 01:08:54 am »
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

Offline [AoD]NC

  • VC:MP Beta Tester
  • VC:MP Veteran
  • *
  • Posts: 616
  • AoD forever!
    • View Profile
    • KURWA MAĆ
Re: some questions
« Reply #12 on: April 12, 2010, 04:30:57 pm »
Yep tester just only test ;).

But is the rcon command to set time still available?

Offline thijn

  • LU testers
  • VC:MP Veteran
  • *
  • Posts: 667
  • Im proud to be pro.
    • View Profile
    • Vice Underdogs
Re: some questions
« Reply #13 on: April 12, 2010, 05:20:48 pm »
Yep tester just only test ;).

But is the rcon command to set time still available?
not sure, I think it is

Offline Boss

  • VC:MP Beta Tester (inactive)
  • Made Man
  • *
  • Posts: 229
  • Boss
    • View Profile
    • TDH Clan Site
Re: some questions
« Reply #14 on: April 12, 2010, 09:36:32 pm »