Problem!!! need Help
#1

Yes, I am looking for the solution of the problem.
But has not received aid!

Could you help?

Код:
//==============================================================================
//=================================Gate System==================================
//==============================================================================

#include <a_samp>

new obj;

public OnGameModeInit()
{
obj = CreateObject(980,2107.968506,1970.185425,13.005812,0.0000,359.1406,272.4236);//object Gate
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
public OnPlayerCommandText()
{
if(strcmp(cmdtext,"/gateclose",true)==0)//close gates
{
MoveObject(obj,2107.968506,1970.185425,13.005812,2.00);//cordinates close gate
}
if(strcmp(cmdtext, "/gateopen", true) == 0)//open gates
{
MoveObject(obj,2107.968506,1982.012695,13.005812,2.00);//cordinates open gate
}
return 0;
}
And I get 2 Errors!
Код:
C:\Documents and Settings\name\Desktop\Untitled.pwn(20) : error 017: undefined symbol "cmdtext"
C:\Documents and Settings\name\Desktop\Untitled.pwn(24) : error 017: undefined symbol "cmdtext"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Reply


Messages In This Thread
Problem!!! need Help - by BLACK-RIDER-1692 - 21.08.2009, 04:50
Re: Problem!!! need Help - by Antonio [G-RP] - 21.08.2009, 04:54
Re: Problem!!! need Help - by BLACK-RIDER-1692 - 21.08.2009, 04:57
Re: Problem!!! need Help - by Antonio [G-RP] - 21.08.2009, 04:58
Re: Problem!!! need Help - by BLACK-RIDER-1692 - 21.08.2009, 05:00
Re: Problem!!! need Help - by Joe Staff - 21.08.2009, 05:04
Re: Problem!!! need Help - by BLACK-RIDER-1692 - 21.08.2009, 05:06
Re: Problem!!! need Help - by Antonio [G-RP] - 21.08.2009, 05:06

Forum Jump:


Users browsing this thread: 2 Guest(s)