05.10.2014, 02:13
The callback isn't being called
pawn Код:
//under cmd
orm_insert(DynamicDoor[dd][ORM_ddID], "OnDoorCreated", "d", dd);
//callback
public OnDoorCreated(dd)
{
DynamicDoor[dd][ddID] = cache_insert_id();
printf("DoorCreated: %d", DynamicDoor[dd][ddID]);
return 1;
}