free

News

collapse

User Info

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* Recent Posts

Re: Stopping by by Sinister
[June 08, 2025, 01:58:04 pm]


Re: Stopping by by Ehks
[June 04, 2025, 12:25:17 am]


Re: Rest in peace by Stefanrsb
[June 02, 2025, 03:38:02 am]


Re: [SA:MP]House of Sforza | The Elite Power | Estd. 2006 | LS - LV by Stefanrsb
[June 02, 2025, 03:09:22 am]


Re: The Soprano Family | Royal Loyalty by Stefanrsb
[June 02, 2025, 03:00:31 am]


Re: The Gvardia Family || San Fierro's Main Power || Best criminal group of 09/10/11 by Stefanrsb
[June 02, 2025, 02:47:01 am]


Re: BALLAS | In memory of INFERNO 9 and NBA by Stefanrsb
[June 02, 2025, 02:31:29 am]


Re: Count to 1,000,000. by Stefanrsb
[June 02, 2025, 02:15:04 am]


Re: Stopping by by Traser
[June 01, 2025, 10:23:13 pm]


Re: Stopping by by Old Catzu
[May 18, 2025, 07:27:06 pm]


Re: Stopping by by TheRock
[May 18, 2025, 06:44:49 am]


Re: Stopping by by KenAdams
[May 17, 2025, 06:33:45 am]

* Who's Online

  • Dot Guests: 516
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Birthday Calender

June 2025
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 [18] 19 20 21
22 23 24 25 26 27 28
29 30

vcmp.say instead vcmp.msg

Guest · 1091

0 Members and 1 Guest are viewing this topic.

Hawk

  • Guest
on: April 24, 2008, 06:00:33 pm
umm for better roleplay

whenever u type !buy <product> it PM's u that food has been bought..
and whenver u type !eat <foog> it PM's ONLY you that you are eating food. but others dont know that u ate food.
it shud say in open like

!buy product
[GTC]Chezor, has bought the food

!eat food
[GTC]Chezor, has ate food.


umm i guess i can also help with scripting by being assistant of mex  :D
.. im not posting whole script but just example..

on *:SIGNAL:vcmp.command:{
if ($2 == !buy) {
if ($3 == $null) vcmp.msg %id Usage: !buy <product>
else vcmp.say %name has bought the product.
}

elseif ($2 == !buy) {
if ($3 == $null) vcmp.msg %id Usage: !eat <food>
else vcmp.say %name has just ate the food.
}
}



Post your comments guys....  :bow:



Offline Mex

  • Hero
  • ****
    • Posts: 780
    With us since: 16/01/2007
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
  • VC:MP: Mex
  • Discord: mexuk
Reply #1 on: April 24, 2008, 06:44:02 pm
Why would others need to know when someone eats food?
If I was in Downtown and ate a pizza, I don't think someone on Starfish should know that I ate it, as that would be unrealistic.

And the Argonath Script uses custom Functions and Signals specific to the script, not vcmp.*.
Thanks for your offer with the help, however currently we are concentrating on the MTA:VC script.



Hawk

  • Guest
Reply #2 on: April 24, 2008, 06:47:35 pm
oh i know that ur concentrating on mta:vc scripting btw i was talking about next script versions of vcmp..
 :)

Btw i dunno but can u make that if its in downtown.. only people in downtown or.. people at certain distance only can see that we have eaten food  :roll:



Offline Mex

  • Hero
  • ****
    • Posts: 780
    With us since: 16/01/2007
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
  • VC:MP: Mex
  • Discord: mexuk
Reply #3 on: April 24, 2008, 07:08:06 pm
Btw i dunno but can u make that if its in downtown.. only people in downtown or.. people at certain distance only can see that we have eaten food  :roll:

Yes that would be possible, it would have to PM each player who is within the certain distance range though.



 


free
SimplePortal 2.3.7 © 2008-2025, SimplePortal