17.04.2017, 05:16
[warning] client exceeded 'ackslimit' 93.91.151.102:60757 (10423) Limit: 6000/sec
[warning] client exceeded 'ackslimit' 109.64.124.171:55558 (15883) Limit: 6000/sec
[warning] client exceeded 'ackslimit' 109.64.124.171:55561 (7432) Limit: 6000/sec
[warning] client exceeded 'ackslimit' 1.186.37.96:59472 (8534) Limit: 6000/sec
[warning] client exceeded 'ackslimit' 109.64.124.171:55558 (15883) Limit: 6000/sec
[warning] client exceeded 'ackslimit' 109.64.124.171:55561 (7432) Limit: 6000/sec
[warning] client exceeded 'ackslimit' 1.186.37.96:59472 (8534) Limit: 6000/sec
PHP код:
COMMAND:startevent(playerid, params[])
{
foreach(new i : Platplayers)
{
TogglePlayerControllable(i, 1);
GameTextForPlayer(i, "EVENT STARTED!", 5000, 5);
}
for(new i; i < MAX_PLAT; i++)
{
MoveObject(Object1[i], ObjectOne[i][0] + 8, ObjectOne[i][1], ObjectOne[i][2], 5.0);
}
for(new i; i < MAX_PLATTWO; i++)
{
MoveObject(Object2[i], ObjectTwo[i][0] - 8, ObjectTwo[i][1], ObjectTwo[i][2], 5.0);
}
for(new i; i < MAX_PLATTHREE; i++)
{
MoveObject(Object3[i], ObjectThree[i][0], ObjectThree[i][1], ObjectThree[i][2] - 6, 5.0);
}
Object_1_State = 1;
return true;
}
public OnObjectMoved(objectid)
{
if(Object_1_State == 1)
{
for(new i; i < MAX_PLAT; i++)
MoveObject(Object1[i], ObjectOne[i][0] - 8, ObjectOne[i][1], ObjectOne[i][2], 5.0);
for(new i; i < MAX_PLATTWO; i++)
MoveObject(Object2[i], ObjectTwo[i][0] + 8, ObjectTwo[i][1], ObjectTwo[i][2], 5.0);
for(new i; i < MAX_PLATTHREE; i++)
MoveObject(Object3[i], ObjectThree[i][0], ObjectThree[i][1], ObjectThree[i][2] + 6, 5.0);
Object_1_State = 0;
}
else
{
for(new i; i < MAX_PLAT; i++)
MoveObject(Object1[i], ObjectOne[i][0] + 8, ObjectOne[i][1], ObjectOne[i][2], 5.0);
for(new i; i < MAX_PLATTWO; i++)
MoveObject(Object2[i], ObjectTwo[i][0] - 8, ObjectTwo[i][1], ObjectTwo[i][2], 5.0);
for(new i; i < MAX_PLATTHREE; i++)
MoveObject(Object3[i], ObjectThree[i][0], ObjectThree[i][1], ObjectThree[i][2] - 6, 5.0);
Object_1_State = 1;
}
#if defined mo_OnObjectMoved
return mo_OnObjectMoved(objectid);
#else
return 1;
#endif
}
#if defined _ALS_OnObjectMoved
#undef OnObjectMoved
#else
#define _ALS_OnObjectMoved
#endif
#define OnObjectMoved mo_OnObjectMoved
#if defined mo_OnObjectMoved
forward mo_OnObjectMoved(objectid);
#endif