gates: all the time same warning but why?
#1

My Code:

Code:
#include <a_samp>
new Gate1a;
forward close();

#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
	print("\n--------------------------------------");
	print(" wiz wrate");
	print("--------------------------------------\n");
 	Gate1a = CreateObject(971,321.10000610,-1188.59997559,76.30000305,0.00000000,0.00000000,38.00000000)
  	return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/wiz", cmdtext, true, 10) == 0)
	{
       	MoveObject(Gate1a,316.20001221, -1192.45495605, 76.30000305, 10.00);
       	SetTimer("close", 5000, 0);
       	SendClientMessage(playerid,0xFF0000FF,"You are opening a Gate, and will be closed automaticly..");
 	return 1;
	}
	return 0;
}

public close()
{
    MoveObject(Gate1a,321.10000610, -1188.59997559, 76.30000305 10.00);
    return 1;
}

#endif
EROR CODE:
Code:
C:\Users\MaticKepa\Desktop\WIZ WRATA.pwn(39) : warning 203: symbol is never used: "Gate1a"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)