SA-MP Forums Archive
!Help! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: !Help! (/showthread.php?tid=306481)



!Help! - Sarra - 26.12.2011

I wanted to create a new moving gate so i started by createobject with name gate1

new gate1;
....




gate1 = CreateObject(980, x, y, z, rotx, roty, rotz);

But it says:

C:\Users\DELL\Desktop\Copie de Copie de My Server\gamemodes\NGRP.pwn(19382) : warning 204: symbol is assigned a value that is never used: "Gate1"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Warning.
that mens that the problem is in "Gate1" Why?


Re: !Help! - coole210 - 26.12.2011

The warning means the variable "Gate1" has never been used. Setting gate1 to CreateObject isn't using it, add the MoveObject and the warning will be removed.