File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
MTA10_Server/mods/deathmatch/logic Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -344,6 +344,10 @@ void CPlayer::RemoveAllSyncingVehicles ( void )
344
344
for ( ; iter != m_SyncingVehicles.end (); iter++ )
345
345
{
346
346
(*iter)->m_pSyncer = NULL ;
347
+
348
+ CLuaArguments Arguments;
349
+ Arguments.PushElement (this );
350
+ (*iter)->CallEvent (" onElementStopSync" , Arguments);
347
351
}
348
352
}
349
353
@@ -389,6 +393,10 @@ void CPlayer::RemoveAllSyncingPeds ( void )
389
393
for ( ; iter != m_SyncingPeds.end (); iter++ )
390
394
{
391
395
(*iter)->m_pSyncer = NULL ;
396
+
397
+ CLuaArguments Arguments;
398
+ Arguments.PushElement (this );
399
+ (*iter)->CallEvent (" onElementStopSync" , Arguments);
392
400
}
393
401
}
394
402
@@ -434,6 +442,10 @@ void CPlayer::RemoveAllSyncingObjects ( void )
434
442
for ( ; iter != m_SyncingObjects.end (); iter++ )
435
443
{
436
444
(*iter)->m_pSyncer = NULL ;
445
+
446
+ CLuaArguments Arguments;
447
+ Arguments.PushElement (this );
448
+ (*iter)->CallEvent (" onElementStopSync" , Arguments);
437
449
}
438
450
}
439
451
You can’t perform that action at this time.
0 commit comments