Help with a problem [please enter D:]
#1

Hi.
In my server, once tested the code, the door will not open.
What's wrong?
Thanks.

Код:
public OnPlayerUpdate(playerid)
{
    new pname[MAX_PLAYER_NAME];
	GetPlayerName(playerid, pname, sizeof pname);
    if(strcmp(pname, "Lo_Spericolato", true) ==0)
	{
	if(IsPlayerInRangeOfPoint(playerid, 20.0, -1087.8724365234, -315.17031860352, 14.500469207764))
    MoveObject(hangarsfair, -1087.4228515625, -321.4111328125, 14.500469207764, 1.0);
    }
    else if(strcmp(pname, "Lo_Spericolato", true) ==0)
    {
	if(IsPlayerInRangeOfPoint(playerid, 15.0, -1109.4988,-311.5401,10.7528))
    MoveObject(hangarsfair, -1087.8724365234, -315.17031860352, 14.500469207764, 1.0);
    }
	return 1;
}
Reply
#2

did u hangarsfair = createobject...?
Reply
#3

Mmmh... wait.
O.O
Oh fuck, the moveobject shouldto be MoveDynamicObject!!!
Thanks anyway.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)