SA-MP Forums Archive
Help With Object's - 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 With Object's (/showthread.php?tid=352088)



Help With Object's - [PXS]jeton007[(DKZ)] - 18.06.2012

//object(subwaygate) (1)
gate1 == CreateObject(971,2624.01245117,493.27206421,4.3583 2024,356.00000000,0.00000000,6.00000000);
//object(subwaygate) (3)
gate2 == CreateObject(971,2626.28808594,477.40441895,5.7333 2548,1.99548340,0.00000000,185.99842834);
<CODE>
Im Getting This Errors ::
C:\Documents and Settings\Computers\Desktop\mos fsih\Server3\filterscripts\jetonscp.pwn(211) : warning 215: expression has no effect
C:\Documents and Settings\Computers\Desktop\mos fsih\Server3\filterscripts\jetonscp.pwn(213) : warning 215: expression has no effect
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Warnings.
</CODE>
Help Me FIx this


Re: Help With Object's - Gangster-rocks - 18.06.2012

The warngs dosn't mean any thing its work go and try it if i helped you +rep.


Re: Help With Object's - Dubya - 18.06.2012

Quote:
Originally Posted by Gangster-rocks
Посмотреть сообщение
The warngs dosn't mean any thing its work go and try it if i helped you +rep.
^ is BS, warnings do to mean things.
pawn Код:
//object(subwaygate) (1)
gate1 == CreateObject(971,2624.01245117,493.27206421,4.3583 2024,356.00000000,0.00000000,6.00000000);
//object(subwaygate) (3)
gate2 == CreateObject(971,2626.28808594,477.40441895,5.7333 2548,1.99548340,0.00000000,185.99842834);
has no effect, meaning that they won't appear in-game. Change it to this:
pawn Код:
//object(subwaygate) (1)
gate1 = CreateObject(971,2624.01245117,493.27206421,4.3583 2024,356.00000000,0.00000000,6.00000000);
//object(subwaygate) (3)
gate2 = CreateObject(971,2626.28808594,477.40441895,5.7333 2548,1.99548340,0.00000000,185.99842834);
Then you won't get:
pawn Код:
C:\Documents and Settings\Computers\Desktop\mos fsih\Server3\filterscripts\jetonscp.pwn(211) : warning 215: expression has no effect
C:\Documents and Settings\Computers\Desktop\mos fsih\Server3\filterscripts\jetonscp.pwn(213) : warning 215: expression has no effect