free

News

collapse

User Info

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

* Recent Posts

Re: [SA:MP] The Continental Network by .James
[Yesterday at 12:40:51 pm]


Re: San Fierro Driving School by .James
[Yesterday at 11:12:53 am]


Re: The Soprano Family | Royal Loyalty by Rei
[Yesterday at 01:57:10 am]


Re: [OFFICIAL] Argonath Air Traffic Control Service by ATC
[September 15, 2025, 07:21:45 pm]


Re: Council of San Fierro - A Community of Prosperity by Kowalski.
[September 15, 2025, 07:02:18 pm]


Re: Council of San Fierro - A Community of Prosperity by Luca Man
[September 15, 2025, 07:00:50 pm]


Re: San Andreas Fire Department | Public relations & media | arfd.argonathrpg.com by Luca Man
[September 15, 2025, 06:46:07 pm]


Re: [OFFICIAL] Elections Commission (ELECOM) by Luca Man
[September 15, 2025, 06:44:17 pm]


Re: San Fierro Driving School by Kowalski.
[September 15, 2025, 06:18:45 pm]


Re: San Fierro Driving School by SFDS
[September 15, 2025, 05:23:46 pm]


Re: San Fierro Driving School - SFDS.ArgonathRPG.us by SFDS
[September 15, 2025, 04:41:48 pm]


Re: The Collin Family - The Legend of 2011 by Kowalski.
[September 15, 2025, 12:27:17 pm]

* Who's Online

  • Dot Guests: 70
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Birthday Calender

September 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 · 1132

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