The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Quick script func!
SLAMnesia Offline
Member

Posts: 99
Threads: 39
Joined: May 2011
Reputation: 0
#1
Quick script func!

Heya!
Whats the script line for a function where it displays a message in the middle of your screen while you look at an entity?
I know it involves .lang file as well but I'm really lost can someone give me an entire description of what I need to do Big Grin plox

this is what I have so far:
void OnStart()
{
SetEntityPlayerLookAtCallback( "shirt1", "LookingFunc1", false);
}


void LookingFunc1(string &in entity, int alState)
{
void SetMessage(shirt, shirt, 1);
}
06-29-2011, 03:03 AM
Find


Messages In This Thread
Quick script func! - by SLAMnesia - 06-29-2011, 03:03 AM
RE: Quick script func! - by Kyle - 06-29-2011, 03:13 AM
RE: Quick script func! - by SLAMnesia - 06-29-2011, 08:53 PM



Users browsing this thread: 1 Guest(s)