public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/oparkingsf", cmdtext, true, 10) == 0)
{
if (IsPlayerInRangeOfPoint(playerid, 10, -1979.8499755859, 102.86151123047, 27.527719497681))
{
MoveObject(sperre1, -1979.8499755859, 102.86151123047, 25.527719497681, 2);
SetTimer("GateClose",5000,0);
}
}
return 1; // HIER MUSS NE NULL HIN
}
zu
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/oparkingsf", cmdtext, true, 10) == 0)
{
if (IsPlayerInRangeOfPoint(playerid, 10, -1979.8499755859, 102.86151123047, 27.527719497681))
{
MoveObject(sperre1, -1979.8499755859, 102.86151123047, 25.527719497681, 2);
SetTimer("GateClose",5000,0);
}
}
return 0;
}
