public parkourlifttimer() { if(GetObjectPos(parkourlift,-1835.0871582031, 551.08648681641, 233.88743591309) == 1)//error line { SendClientMessage(playerid, 0x12FE24FF, "In 5 sec's parkour lifter will go down"); SetTimer("movingparkourlift",5000,false); } return 1; }
C:\Users\mike\Desktop\server\filterscripts\gates.p wn(134) : error 035: argument type mismatch (argument 2) Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. |
if(GetObjectPos(parkourlift,-1835.0871582031, 551.08648681641, 233.88743591309) == 1)//error line |
new Float:x, Float:y, Float:z;
GetObjectPos(parkourlift,x, y, z)
if(x==-1.000&&y==1.00&&z==3.5)return 1;
public parkourlifttimer()
{
new Float:x,Float:y,Foat:z;
GetObjectPos(parkourlift,x,y,z);
if(x == -1835.087 && y == 551.086 && z == 233.887)
{
SendClientMessage(playerid, 0x12FE24FF, "In 5 sec's parkour lifter will go down");
SetTimer("movingparkourlift",5000,0);
}
return 1;
}
C:\Users\mike\Desktop\server\filterscripts\gates.p wn(135) : warning 213: tag mismatch C:\Users\mike\Desktop\server\filterscripts\gates.p wn(136) : warning 213: tag mismatch Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Warnings. |
GetObjectPos(parkourlift,x,y,z); if(x == -1835.087 && y == 551.086 && z == 233.887) |