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
[NEEDZ HELP] Displaying a simple message when grabbing/interacting with an object.
GillFrog Offline
Junior Member

Posts: 26
Threads: 7
Joined: Mar 2011
Reputation: 1
#1
Question  [NEEDZ HELP] Displaying a simple message when grabbing/interacting with an object.

So, here's what i want to do;
When i grab an object, i want a message to pop up.
I tried it, but it doesn't show up.
I really don't know what's the problem. Huh

Lang:

Quote:Message
Script:

Quote:void OnStart()

{
AddEntityCollideCallback("Player", "stephano1", "func_stephano", true, 1);
}

void func_stephano(string &in asEntity)
{
SetMessage("stephano", "stephano_message", 1);
}
(This post was last modified: 04-23-2012, 03:43 PM by GillFrog.)
04-23-2012, 03:03 PM
Website Find


Messages In This Thread
[NEEDZ HELP] Displaying a simple message when grabbing/interacting with an object. - by GillFrog - 04-23-2012, 03:03 PM



Users browsing this thread: 1 Guest(s)