25.11.2009, 13:28
Yes almost have it but now it says it doesnt have the right number of arguments
public OnGameModeInit()
{
Lift = CreateObject(2927, 2067.4885253906, -2515.8937988281, 14.338908195496, 90, 0, 0);
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/moveobject", true) == 0)
{
MoveObject(Lift, 2067.48828125, -2515.8935546875, 49.599998474121, 90, 10, 0.5);
return 1;
}
return 0;
}
the red line is the error line
public OnGameModeInit()
{
Lift = CreateObject(2927, 2067.4885253906, -2515.8937988281, 14.338908195496, 90, 0, 0);
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/moveobject", true) == 0)
{
MoveObject(Lift, 2067.48828125, -2515.8935546875, 49.599998474121, 90, 10, 0.5);
return 1;
}
return 0;
}
the red line is the error line