Etwas
public c v1 · immutable#include <a_samp>new pdgate;public OnGameModeInit(){ pdgate = CreateObject(971, 1588.5617, -1638.1036, 12.7200, 0, 0, 0); return 1;}public OnPlayerCommandText(playerid, cmdtext[]){ if (strcmp("/openlspd", cmdtext, true, 10) == 0) { MoveObject(pdgate....); //move the gate to open position return 1; } if (strcmp("/closelspd", cmdtext, true, 10) == 0) { MoveObject(pdgate....); //move the gate to closed position return 1; } return 0;}