View Single Post
  #3  
Old 05-19-2007, 02:14 AM
Rapidwolve Rapidwolve is offline
Registered User
Join Date: Jul 2006
Posts: 1,241
Rapidwolve is an unknown quantity at this point
Good question, I was also confused at first. The solution to your problem is using flags.

Examples:

GS2:
PHP Code:
function onPlayerChats()
{
  if (
player.chat == "pie")
  {
    
pie();
  }

GS1:
PHP Code:
if (playerchats&&strequals(#c,pie)){
  
pie();

Reply With Quote