11.04.2009, 15:02

I need help with my lift. I am trying to make a lift work in my demoragen defence
. I am trying to make it so the lift works when:
- You are on the lift
- You are skin 70,276,286,287 ( i havent done this yet )
And make it not work when:
- You are skin, 275, 202, 133, 122
- And when you are not on the lift
This is my command or whatever:
NOTE* I do have a new float: x, float: y, float: z;
if (strcmp("/l1u", cmdtext, true, 10) == 0)
{
if ( > GetPlayerPos(playerid, 131.7778,1927.9940,1
&& < GetPlayerPos(playerid, 139.6464,1954.1235,19.4223)){
}
else
{
return GameTextForPlayer(playerid, "~w~ You are not on the lift!", 1000, 1);
}
MoveObject(l1,292.579040 , 1821.149536 , 25, 3);
MoveObject(l2,279.135253 , 1821.149536 , 25, 3);
GameTextForPlayer(playerid, "~Y~ Lift Rising", 3000, 5);
return 1;
}
I hope you can help me

