free

News

collapse

User Info

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

* Who's Online

  • Dot Guests: 140
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Birthday Calender

November 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 · 1161

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