03.06.2010, 14:10
Okay, I seem to have a problem with my gate..
This is the position when open: CreateObject(305.49206542969,-1552.9946289063,32.823028564453,322.28503417969); //Gate Open
This is the position when closed: CreateObject(310.37841796875,-1555.9321289063,32.823028564453,322.28500366211); //Gate Close
This is the part of my code im having trouble with,
I know, Im a n00b just stick with me
and this is my warning i keep getting,
Cab someone please fix this Thanks!
This is the position when open: CreateObject(305.49206542969,-1552.9946289063,32.823028564453,322.28503417969); //Gate Open
This is the position when closed: CreateObject(310.37841796875,-1555.9321289063,32.823028564453,322.28500366211); //Gate Close
This is the part of my code im having trouble with,
Quote:
else if (PlayerToPoint(15, playerid,310.37841796875,-1555.9321289063,32.823028564453)) { MoveObject(fbigate,305.49206542969,-1552.9946289063,32.823028564453); SetTimer("GateClose3", 7000, 0); SendClientMessage(playerid, COLOR_BLUE,"FBI gate is opened and will close in 7 seconds."); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* %s takes his/her remote and opens fbi gate.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE); |
and this is my warning i keep getting,
Quote:
C:\Users\TonyTone\Desktop\gtarp.pwn(17346) : warning 202: number of arguments does not match definition Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase Header size: 9516 bytes Code size: 1633168 bytes Data size: 10359928 bytes Stack/heap size: 16384 bytes; estimated max. usage=4466 cells (17864 bytes) Total requirements:12018996 bytes 1 Warning. |