Code no work!
#1

Код:
#include <a_samp>
#if defined FILTERSCRIPT
public OnPlayerCommandText(playerid, cmdtext[])
{
	if (!strcmp("/command", cmdtext, true) == 0)
	{
	SendClientMessage(playerid, COLOR_YELLOW,"It is Working");}
    return 1;}
    #endif
I am brand new to scripting, So please forgive me. Heres what I want it to do:

When I type /command I want it to bring up A message saying that the command is working (in yellow)

I get no errors.

I put it in the server.cfg
Reply


Messages In This Thread
Code no work! - by NumerousSpaces - 22.02.2016, 00:48
Re: Code no work! - by [eLg]elite - 22.02.2016, 00:50
Re: Code no work! - by NumerousSpaces - 22.02.2016, 01:04
Re: Code no work! - by Sew_Sumi - 22.02.2016, 01:34

Forum Jump:


Users browsing this thread: 1 Guest(s)