Jeffry:
Kannst du mir sagen, weshalb folgendes nicht funktioniert?
object[7] = CreateObject(800, 2813.95898, 1002.33032, 54.82380, 0.00000, 0.00000, 180.00000);
public OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid)
{
if(playertextid == PlayerText:TDEditor_PTD[4][playerid])
{
new Float:X,Float:Y,Float:Z;
MoveObject(object[7],X, Y, Z+5,2.0);
}
else if(playertextid == PlayerText:TDEditor_PTD[5][playerid])
{
new Float:X,Float:Y,Float:Z;
MoveObject(object[7],X, Y, Z-5,2.0);
}
return 1;
}