Welcome to Open Carnage

A resource for modders and technology enthusiasts; have a wander to see why we're worth the time! EST. 2012

Sign in to follow this  
Followers 0
Weyland

Kavawuvi's weaponvariable.lua

Hi,

 

Hope everyone is good.

 

If and when anyone (particularly Kavawuvi) gets a spare minute I have a couple of lua script related issu...

Share this post


Link to post
Share on other sites

Members of Open Carnage never see off-site ads.

Currently, the way to do this is to spam the console with empty messages (newlines, spaces, etc.) before sending your message, and you'd do this a few times a second to ensure it refreshes on the screen quickly.

 

In Lua, this would look like this:

for i = 1,26 do
    rprint(PlayerIndex, "|n")
end
rprint(PlayerIndex, "Insert message here")

 

Or in events.txt, you could put this in your event:

rprint $n "|n";rprint $n "|n";rprint $n "|n";rprint $n "|n";rprint $n "|n";rprint $n "|n";rprint $n "|n";rprint $n "|n";rprint $n "|n";rprint $n "|n";rprint $n "|n";rprint $n "|n";rprint $n "|n";rprint $n "|n";rprint $n "|n";rprint $n "|n";rprint $n "|n";rprint $n "|n";rprint $n "|n";rprint $n "|n";rprint $n "|n";rprint $n "|n";rprint $n "|n";rprint $n "|n";rprint $n "|n";rprint $n "|n";rprint $n "Message"

 

Takka933 likes this

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0
  • Recently Browsing   0 members

    No registered users viewing this page.