Код:
if (strcmp(cmdtext, "/ord", true)==0)
{
SetObjectRot(carrierdoor, 0,18,0 );
SendClientMessage(playerid, 0xFF0000F, "Door is opening");
SetTimer("stap1",100,false);
public stap1()
{
SetObjectRot(carrierdoor, 0,18,0 );
SetTimer("stap2",100,false);
}
public stap2()
{
SetObjectRot(carrierdoor, 0,18,0 );
SetTimer("stap3",100,false);
}
public stap3()
{
SetObjectRot(carrierdoor, 0,18,0 );
SetTimer("stap4",100,false);
}
public stap4()
{
SetObjectRot(carrierdoor, 0,18,0 );
SetTimer("stap5",100,false);
}
public stap5()
{
SetObjectRot(carrierdoor, 0,18,0 );
SetTimer("stap6",100,false);
}
public stap6()
{
SetObjectRot(carrierdoor, 0,18,0 );
SetTimer("stap7",100,false);
}
public stap7()
{
SetObjectRot(carrierdoor, 0,18,0 );
SetTimer("stap8",100,false);
}
public stap8()
{
SetObjectRot(carrierdoor, 0,18,0 );
SetTimer("stap9",100,false);
}
public stap9()
{
SetObjectRot(carrierdoor, 0,18,0 );
SetTimer("stap10",100,false);
}
public stap10()
{
SetObjectRot(carrierdoor, 0,18,0 );
}
return 1;
}
Код:
C:\Users\Willem\Desktop\GTA multiplayer\filterscripts\carrier.PWN(87) : error 029: invalid expression, assumed zero
C:\Users\Willem\Desktop\GTA multiplayer\filterscripts\carrier.PWN(87) : error 004: function "stap1" is not implemented
C:\Users\Willem\Desktop\GTA multiplayer\filterscripts\carrier.PWN(92) : error 029: invalid expression, assumed zero
C:\Users\Willem\Desktop\GTA multiplayer\filterscripts\carrier.PWN(92) : error 004: function "stap2" is not implemented
C:\Users\Willem\Desktop\GTA multiplayer\filterscripts\carrier.PWN(97) : error 029: invalid expression, assumed zero
C:\Users\Willem\Desktop\GTA multiplayer\filterscripts\carrier.PWN(97) : error 004: function "stap3" is not implemented
C:\Users\Willem\Desktop\GTA multiplayer\filterscripts\carrier.PWN(102) : error 029: invalid expression, assumed zero
C:\Users\Willem\Desktop\GTA multiplayer\filterscripts\carrier.PWN(102) : error 004: function "stap4" is not implemented
C:\Users\Willem\Desktop\GTA multiplayer\filterscripts\carrier.PWN(107) : error 029: invalid expression, assumed zero
C:\Users\Willem\Desktop\GTA multiplayer\filterscripts\carrier.PWN(107) : error 004: function "stap5" is not implemented
C:\Users\Willem\Desktop\GTA multiplayer\filterscripts\carrier.PWN(112) : error 029: invalid expression, assumed zero
C:\Users\Willem\Desktop\GTA multiplayer\filterscripts\carrier.PWN(112) : error 004: function "stap6" is not implemented
C:\Users\Willem\Desktop\GTA multiplayer\filterscripts\carrier.PWN(117) : error 029: invalid expression, assumed zero
C:\Users\Willem\Desktop\GTA multiplayer\filterscripts\carrier.PWN(117) : error 004: function "stap7" is not implemented
C:\Users\Willem\Desktop\GTA multiplayer\filterscripts\carrier.PWN(122) : error 029: invalid expression, assumed zero
C:\Users\Willem\Desktop\GTA multiplayer\filterscripts\carrier.PWN(122) : error 004: function "stap8" is not implemented
C:\Users\Willem\Desktop\GTA multiplayer\filterscripts\carrier.PWN(127) : error 029: invalid expression, assumed zero
C:\Users\Willem\Desktop\GTA multiplayer\filterscripts\carrier.PWN(127) : error 004: function "stap9" is not implemented
C:\Users\Willem\Desktop\GTA multiplayer\filterscripts\carrier.PWN(132) : error 029: invalid expression, assumed zero
C:\Users\Willem\Desktop\GTA multiplayer\filterscripts\carrier.PWN(132) : error 004: function "stap10" is not implemented
I have nog idea what I'v done wrong, I've changed the names of the functions but it's keep telling that it is not implemented.
Your functions are defined inside OnPlayerCommandText. Take them out of there.